Class: Discordrb::Events::ServerEmojiUpdateEvent

Inherits:
ServerEvent show all
Defined in:
lib/discordrb/events/guilds.rb

Overview

Emoji is updated

Instance Attribute Summary collapse

Attributes inherited from Event

#bot

Instance Method Summary collapse

Methods inherited from ServerEvent

#init_server

Constructor Details

#initialize(server, old_emoji, emoji, bot) ⇒ ServerEmojiUpdateEvent


125
126
127
128
129
130
# File 'lib/discordrb/events/guilds.rb', line 125

def initialize(server, old_emoji, emoji, bot)
  @bot = bot
  @old_emoji = old_emoji
  @emoji = emoji
  @server = server
end

Instance Attribute Details

#emojiEmoji? (readonly)


123
124
125
# File 'lib/discordrb/events/guilds.rb', line 123

def emoji
  @emoji
end

#old_emojiEmoji? (readonly)


120
121
122
# File 'lib/discordrb/events/guilds.rb', line 120

def old_emoji
  @old_emoji
end

#serverServer (readonly)


117
118
119
# File 'lib/discordrb/events/guilds.rb', line 117

def server
  @server
end