A simple template for building a beautiful discord bot with nextcord.Here I have also implemented the buttons, discord modals and select menus along with slash commands. This project is under progress so you have to wait for some time to get your wanted features.
- Added MongoDB database for saving bot data (eg:- bot prefix).
- Added Listeners and added a lot of bot customization options.
- Dynamic help command with buttons.
- Added sub-commands examples in
__sub-command.py
. - Added some commands related to the stats of the bot.
- Added some commands to send channel stats, to create or delete channels.
- Added a cog handler.
- Added configuration cog.
- Added ping and eval command.
- Added fun commands.
- Added music cog.
- Added utility cog.
- Added suggestion cog.
- Added slash commands.
- Added discord modals.
Run git clone https://github.com/abindent/Nextcord-Utility-Bot.git
this command to our terminal for cloning this repo.
Add environment variable file (eg:- .env
, .env.local
, .env.developement
).
After creating a .env file add the following lines
BOT_TOKEN=<Your bot's token>
MONGO_URI=<connection string to your mongodb collection>
JOKE_API=<rapidapi key>
secret_id=<random hard to guess string>
ALGOLIA_SEARCH_APP_ID=BH4D9OD16A
ALGOLIA_SEARCH_API_KEY=f37d91bd900bbb124c8210cca9efcc01
Install dependencies using pip install -r requirements.txt
and run python bot/bot.py
in your local machine.
- To add custom prefix.
- To add eval command.
- To add games and activity commands in bot.
- To format code and enhance it.
- To add new discord modal here.