class MijDiscord::Events::DeleteMessage

Attributes

channel[R]
id[R]

Public Class Methods

new(bot, data) click to toggle source
Calls superclass method MijDiscord::Events::Generic::new
# File lib/mij-discord/events/message.rb, line 61
def initialize(bot, data)
  super(bot)

  @id = data['id'].to_i
  @channel = @bot.channel(data['channel_id'])
end