Class: OnyxCord::BulkBan
- Inherits:
-
Object
- Object
- OnyxCord::BulkBan
- Defined in:
- lib/onyxcord/models/server.rb
Overview
A bulk ban entry on a server.
Instance Attribute Summary collapse
-
#banned_users ⇒ Array<Integer>
readonly
Array of user IDs that were banned.
-
#failed_users ⇒ Array<Integer>
readonly
Array of user IDs that couldn't be banned.
-
#reason ⇒ String?
readonly
The reason these users were banned.
-
#server ⇒ Server
readonly
The server this bulk ban belongs to.
Instance Attribute Details
#banned_users ⇒ Array<Integer> (readonly)
Returns Array of user IDs that were banned.
1579 1580 1581 |
# File 'lib/onyxcord/models/server.rb', line 1579 def banned_users @banned_users end |
#failed_users ⇒ Array<Integer> (readonly)
Returns Array of user IDs that couldn't be banned.
1582 1583 1584 |
# File 'lib/onyxcord/models/server.rb', line 1582 def failed_users @failed_users end |
#reason ⇒ String? (readonly)
Returns The reason these users were banned.
1576 1577 1578 |
# File 'lib/onyxcord/models/server.rb', line 1576 def reason @reason end |
#server ⇒ Server (readonly)
Returns The server this bulk ban belongs to.
1573 1574 1575 |
# File 'lib/onyxcord/models/server.rb', line 1573 def server @server end |