discord-irb
discord-irb is a command line tool for interacting with the Discord API.
Usage
$ bundle exec discord-irb
To start.
Load a token
discord-irb will load a token from...
- the
DISCORD_BOT_TOKEN
environment variable - the
DISCORD_TOKEN
environment variable token
file in the current directory(customizable with-f
option)- your input
Arguments
-i
, --intents
Intents to use. Specify intents with integers.
-t
, --token-file
Token file to load.
Variables
message
Last message received.