class Discordrb::Events::RawEvent
Event
raised when any dispatch is received
Attributes
d[R]
@return [Hash] the data of this dispatch.
data[R]
@return [Hash] the data of this dispatch.
t[R]
@return [Symbol] the type of this dispatch.
type[R]
@return [Symbol] the type of this dispatch.
Public Class Methods
new(type, data, bot)
click to toggle source
# File lib/discordrb/events/raw.rb, line 17 def initialize(type, data, bot) @type = type @data = data @bot = bot end