pythonbot
This is a general purpose Discord bot built with Nextcord(A Python wrapper for the Discord API). The bot is designed to be easily customizable and extendable, with a modular architecture that allows for the addition of new features and commands.
How to setup
-
Clone/Download the repository
- To clone it and get the updates you can use the command:
git clone https://github.com/prajesh8484/pythonbot
-
Create a discord bot here
-
Get your bot token
-
Invite your bot on servers using the following invite: https://discord.com/oauth2/authorize?&client_id=YOUR_APPLICATION_ID_HERE&scope=bot+applications.commands&permissions=PERMISSIONS ( allow necessary permissions your bot needs that it can be get at the bottom of a this page https://discord.com/developers/applications/YOUR_APPLICATION_ID_HERE/bot)
-
Replace:
YOUR_CHANNEL_ID
to channel id, here how to get channel idYOUR_BOT_TOKEN
to bot tokenYOUR_TIME_ZONE
to time zone (e.g.'Europe/London'
)
Starting the bot
launch your terminal or your Command Prompt .
Before running the bot install all the requirements with this command:
python -m pip install -r requirements.txt
After that you can start it with
python main.py
Contributing
Contributions to the project are welcome! If you have a feature or improvement to suggest, simply open an issue or pull request on GitHub.
License
This bot is released under the MIT License. See the LICENSE.md file for details.