Method: Discordrb::Bot#name
- Defined in:
- lib/discordrb/bot.rb
#name ⇒ String
The bot's name which discordrb sends to Discord when making any request, so Discord can identify bots with the same codebase. Not required but I recommend setting it anyway.
57 58 59 |
# File 'lib/discordrb/bot.rb', line 57 def name @name end |