Class: Discordrb::Events::ServerEmojiCDEvent
- Inherits:
-
ServerEvent
- Object
- Event
- ServerEvent
- Discordrb::Events::ServerEmojiCDEvent
- Defined in:
- lib/discordrb/events/guilds.rb
Overview
Generic event helper for when an emoji is either created or deleted
Direct Known Subclasses
Instance Attribute Summary collapse
-
#emoji ⇒ Emoji
readonly
The emoji data.
-
#server ⇒ Server
readonly
The server in question.
Attributes inherited from Event
Instance Method Summary collapse
-
#initialize(server, emoji, bot) ⇒ ServerEmojiCDEvent
constructor
A new instance of ServerEmojiCDEvent.
Methods inherited from ServerEvent
Constructor Details
#initialize(server, emoji, bot) ⇒ ServerEmojiCDEvent
Returns a new instance of ServerEmojiCDEvent.
101 102 103 104 105 |
# File 'lib/discordrb/events/guilds.rb', line 101 def initialize(server, emoji, bot) @bot = bot @emoji = emoji @server = server end |