https://github.com/butterroach/spame
A Discord bot made for managing spam channels.
https://github.com/butterroach/spame
bot discord discord-bot discord-py spam
Last synced: 7 months ago
JSON representation
A Discord bot made for managing spam channels.
- Host: GitHub
- URL: https://github.com/butterroach/spame
- Owner: Butterroach
- License: agpl-3.0
- Created: 2024-06-09T08:43:57.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-01T07:48:24.000Z (about 1 year ago)
- Last Synced: 2025-01-01T08:25:26.066Z (about 1 year ago)
- Topics: bot, discord, discord-bot, discord-py, spam
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# spame
## A discord.py bot for managing spam channels
Spame is a Discord bot written in discord.py that manages spam channels by removing messages that aren't the same as the current spam message.
### Features
- Deletes messages that aren't equal to the currently set spam message
- Toggleable .env option for case insensitive/sensitive matching
- 'Changer' permission that allows users with it to change the spam message through a bot command at any time
- Allows for multiple spam channels with a prefix
- Automatically pins announcements for new spam messages and deletes older pins to avoid reaching the pin limit
### **Notes**
- **The bot will require the 'Manage Messages' permission, the 'Message Content' intent, the 'Server Members' intent, and the 'Bot' scope to work properly.**
- **The bot is designed to be on one server only. If on multiple servers, the spam message will be set all across them, and settings will apply to every server. You can fork the bot and fix this for your own use if you'd like, but I will NOT be accepting any pull requests that fix this.**
### How to use
1. Get Python and Git.
2. Clone the repository with git.
3. Run `pip install -r requirements.txt`.
4. Set up a .env file by coping the .env.example file and editing it.
5. Now, run the bot.py program and enjoy! The bot will only run in channels that have names that start with the SPAM_CHANNEL_PREFIX value.
### Docker?
hi arti