initial commit

This commit is contained in:
user
2025-07-15 22:40:51 -04:00
commit 98db3a2cc8
6 changed files with 2058 additions and 0 deletions

23
README.md Normal file
View File

@@ -0,0 +1,23 @@
# linkbomber
Discord bot that cleans tracking elements from messages
You can invite the bot to your server [here](https://discord.com/oauth2/authorize?client_id=1336105313589395616&scope=bot&permissions=274877990912).
## Usage
By default, the bot will automatically strip tracking elements from any URL it supports,
this feature can be disabled with the command: `/toggle`. Then, to use the functionality
manually, just use the command `/bomb` which will strip the latest link posted in a channel
of its tracking elements.
## Setup
1. Clone the repository
2. Create a file named `.env` in the same directory as the bot
3. Add the following contents to the file
```
DISCORD_BOT_TOKEN=your_bot_token_here
```
4. Install the dependencies with `pip install -r requirements.txt`
5. Run the bot with `python main.py`