From within the project root, run the following to install all of the go gettable dependencies.
go install ./
Create an .env
file by copying .env.default
and provide values for configuration variables.
From within the project root, run the below command to compile the source code into an executable.
go build
This example uses bot tokens for authentication only. While user/password is supported by DiscordGo, it is not recommended for bots.
./stonks --help
Usage of ./stonks:
-t string
Bot Token
The below example shows how to start the bot
./stonks -t YOUR_BOT_TOKEN
Bot is now running. Press CTRL-C to exit.
Navigate to:
https://discordapp.com/oauth2/authorize?client_id=%Client_ID%&scope=bot&permissions=0
Currently getting everything set up still.
- ping
- pong
- cat
- dog