- Commander bot: shows pool stats via
/poolcommand - Fees bot: shows total fees accross all the pools
- Price bot: shows target token price in stable coin
- Rewards bot: shows rewards, fees and incentives for the latest epoch
- TVL bot: shows total value locked across all the pools
cp .env.example .env- set
DISCORD_TOKEN_*for your bot/bots poetry installpoetry run python -m bots.__main__
poetry run noxGot issues with formatting?
poetry run nox -rs black- head to Discord Developer Portal
- click
New Application(top right corner) - come up with a sensible name for the bot, accept TOS, click
Create - click
Botin the left hand side panel - for command bots, enable
MESSAGE CONTENT INTENT - click
Reset Token - copy newly created token and keep it to share with your trusted dev
- click
OAuth2in the left had side panel - click
URL Generatorin the sub menu - in
Scopes, selectbot - in
Bot Permissions, selectChange Nickname; forCommandbot selectSend MessagesandUse Slash Commands - copy
Generated URLand open it in a new tab to add bot to your server - upload emojis from emojis directory to your discord server (
Server Settings > Emoji) - these are used to build custom Discord Embed UIs