https://github.com/leabs/discord-hof-py-bot
Discord bot that copies highly reacted messages to a hall of fame section
https://github.com/leabs/discord-hof-py-bot
Last synced: about 1 year ago
JSON representation
Discord bot that copies highly reacted messages to a hall of fame section
- Host: GitHub
- URL: https://github.com/leabs/discord-hof-py-bot
- Owner: leabs
- License: mit
- Created: 2023-03-19T02:23:15.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-19T02:38:14.000Z (about 3 years ago)
- Last Synced: 2025-03-20T04:43:49.012Z (about 1 year ago)
- Language: Python
- Size: 1.58 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Discord Hall of Fame Python Bot
A bot that allows text or embedded messages with a user defined number of reactions to be copied to a seperate user defined channel. This can be useful to generate a section of noteable posts.
## Dependencies
Here are the dependencies used in this project, which can be installed by running `pip3 install -r requirements.txt`:
- [discord.py](https://discordpy.readthedocs.io/en/stable/index.html)
- [python-dotenv](https://pypi.org/project/python-dotenv/)
- [aiohttp](https://docs.aiohttp.org/en/stable/)
## Setup
1. Clone the repository
2. Create a file called `.env` in the root directory
3. Install the dependencies with `pip3 install -r requirements.txt`
4. Create a bot on the [Discord Developer Portal](https://discord.com/developers/applications)
5. Add the text permissions for your bot
6. Copy the Bot's Auth token
7. Add the token to the .env (see example.env)
8. Add the channel ID of the channel you want the bot to post in `bot.py`
9. Add the emoji ID of the emoji you want to use to add messages to the list in `bot.py`
10. Specify the number of reactions needed to copy the message to the HOF
11. Run the bot with `python3 main.py`
12. Bot will be alive as long as the server is up!