Skip to content

RealCyGuy/Bronze-Medalist

Repository files navigation

Bronze Medalist

https://bronzemedalist.netlify.app/

Codacy Badge Notion GitHub Workflow Status (branch)

Discord economy bot with slash commands made with discord.py.

Invite link

You can find a public instance of the bot here!

Hosting

You can host on heroku or ibm's cloud foundry or locally. In any case, you need to have a .env/environment variables with TOKEN (from discord developer portal) and DETA_KEY (from https://deta.sh).

Make sure to enable all priviliged intents.

Then you can run bot.py to start the bot.

Other .envs

  • TESTING_GUILD_ID - For development to add slash commands quicker.
  • DETABASE_NAME - Name of deta base for multiple bases in one deta project.
  • EVENT_STARTER_IDS - Ids for event starters. To start events, the bot needs the manage messages and manage roles permissions.
  • PREFIX - Custom prefix for starting events and using the jishaku module. Defaults to b.
  • JISHAKU_NO_UNDERSCORE - Don't use underscores for jishaku's repl if set to true.
  • INVITE - Custom invite link (like https://bronzemedalist.netlify.app/invite) for the invite command.

Events

Events are free medals that EVENT_STARTER_IDS can start. To start an event, use (prefix)(event_name) The events are last and react. The bot will need extra permissions such as send messages, delete messages, etc.

License

MIT :)