Skip to content

shahriaarrr/discordbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discordbot

This is a moderation bot for Discord servers that provides several features to help the server staff manage and maintain the server. The following are the features of this bot:

  • Timeout of users

  • Kicking users

  • Locking channels

  • Giving a role to the user

  • Removing a role from the user

  • Contact form with Discord server staff

  • About section to put the server description

Installation

  • To run this bot, you need to install the following libraries:

    • discord.py
    • python-dotenv
  • You can install these libraries using pip by running the following command:

$ pipenv install
  • After installing the required libraries, you need to create a .env file in the root directory of the project and add the following variables:
TOKEN=<your_bot_token>
  • Replace <your_bot_token> with the bot token provided by Discord.

run

  • To run the bot, you need to execute the main.py file using the following command:
$ python main.py

[!] Some Notes:

  1. you need create your bot in discord developer portal link and then copy your bot token and Then paste in the location specified in the file (bot.py)((you can see this video to learn how create discord bot))

  2. This is an admin bot that makes it easier for you to manage your Discord servers😉.

  3. Be sure to fork this project and implement your ideas on it💡.

  4. Also, if you like this project, be sure to give it a star⭐.

  5. Finally, I hope you use this program properly and enjoy working with it 😉

Thanks to:

  1. my dear friend SCARTAL, for his good education and help that he gave me🙏

  2. boby cloud for his advice and mentorship to improve this README