GithubHelp home page GithubHelp logo

discordbot's Introduction

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

discordbot's People

Contributors

scartal avatar shahriaarrr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.