Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shahriaarrr/discordbot
sample Discord admin bot:)
https://github.com/shahriaarrr/discordbot
discord discord-bot discord-py discordpy python
Last synced: 3 months ago
JSON representation
sample Discord admin bot:)
- Host: GitHub
- URL: https://github.com/shahriaarrr/discordbot
- Owner: shahriaarrr
- License: mit
- Created: 2021-02-01T04:14:55.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-24T07:45:02.000Z (about 1 year ago)
- Last Synced: 2023-12-24T08:31:45.121Z (about 1 year ago)
- Topics: discord, discord-bot, discord-py, discordpy, python
- Language: Python
- Homepage:
- Size: 58.6 KB
- Stars: 15
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```env
TOKEN=
```
- Replace `` 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](https://discord.com/developers) link and then copy your bot token and Then paste in the location specified in the file (bot.py)((you can see [this](https://www.youtube.com/watch?v=nW8c7vT6Hl4&list=PLW3GfRiBCHOhfVoiDZpSz8SM_HybXRPzZ) 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](https://github.com/SCARTAL/)**, for his good education and help that he gave me๐
2. **boby cloud** for his advice and mentorship to improve this README