An oddly specific Discord bot written in Python.
- Captioning media in the iFunny style, using caption-redux
- Better Twitter embeds, with no embeds
- Random animal pics using the tinyfox api
- Auto download art from specific channels
- Reverse image search using SauceNAO
- RSS feeds (WIP)
Note
This bot was made for personal use and is not meant to work across multiple servers as of now.
-
Clone this repository.
-
Install the required Python packages using pip:
pip install -r requirements.txt
-
Add your tokens to the
.env
file in the root directory of this project.Template
LOPTOKEN=your discord bot token SAUCETOKEN=your saucenao token, you monster WEBHOOK32=webhook link of the channel where embeds are replaced WEBHOOK_DEBUG=webhook link for debugging, or just use the latter E621TOKEN=your e621 token, you monster REDDITCID=your reddit client id REDDITCSECRET=your reddit client secret
-
Create a
conf.json
or run the bot once to have it created for you. Modify the contents of it based on your setup.Template
{ "debug": False, // for advanced users "reddit_token_birth": 0, // do not touch "dev": 954419840251199579, // your discord user id "labowor": 834100481839726693, // your server id "tostash": 1113025678632300605, // auto-download channel id "tomarkdown": 969498055151865907, // better embed channel "tomarkdown_debug": 1012384595611746465, // channel for testing "last_rss": 0, // do not touch "twfollows": [] // legacy }
-
Run the bot
python lop.pyw # or python3
-
Sync the command tree on Discord using
/sync
Contributions are welcome! For more info reach out to me in the server below!
Server invite to labowor Lop#6400 the bot gilgman the developer