- Defined in:
Raised when a user is banned
Direct Known Subclasses
Instance Attribute Summary collapse
#server ⇒ Server
The server from which the user was banned.
#user ⇒ User
The user that was banned.
Attributes inherited from Event
Instance Attribute Details
#server ⇒ Server (readonly)
Returns the server from which the user was banned.
12 13 14
# File 'lib/discordrb/events/bans.rb', line 12 def server @server end
#user ⇒ User (readonly)
Returns the user that was banned.
9 10 11
# File 'lib/discordrb/events/bans.rb', line 9 def user @user end