- Commander bot: shows pool stats via
/pool
command - 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 install
poetry run python -m bots.__main__
poetry run nox
Got 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
Bot
in 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
OAuth2
in the left had side panel - click
URL Generator
in the sub menu - in
Scopes
, selectbot
- in
Bot Permissions
, selectChange Nickname
; forCommand
bot selectSend Messages
andUse Slash Commands
- copy
Generated URL
and 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