Class: Discordrb::BulkBan
- Inherits:
-
Object
- Object
- Discordrb::BulkBan
- Defined in:
- lib/discordrb/data/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.
1387 1388 1389 |
# File 'lib/discordrb/data/server.rb', line 1387 def banned_users @banned_users end |
#failed_users ⇒ Array<Integer> (readonly)
Returns Array of user IDs that couldn't be banned.
1390 1391 1392 |
# File 'lib/discordrb/data/server.rb', line 1390 def failed_users @failed_users end |
#reason ⇒ String? (readonly)
Returns The reason these users were banned.
1384 1385 1386 |
# File 'lib/discordrb/data/server.rb', line 1384 def reason @reason end |
#server ⇒ Server (readonly)
Returns The server this bulk ban belongs to.
1381 1382 1383 |
# File 'lib/discordrb/data/server.rb', line 1381 def server @server end |