This README was initially made by an AI and edited.
You'll need to install Ollama and Node.js to get this running. The rest of the setup is automatic.
Create a .env
file in the project root with your Discord bot token:
DISCORD_TOKEN=your_bot_token_here
- Create a
memes/
folder and add some meme files to it - The bot will automatically create
memecache.json
to cache uploaded memes
- Pulls random memes out of a folder called
memes
. (You have to create that folder yourself and put some files in it!) - Chats with users when they use a chat command, with a 1/55 chance to do it unprompted.
- Has three commands:
_randmeme
– grabs a random meme from that folder_chat
and_chag
– both do the same thing (these are just chat commands)
- Uses Ollama with the
smollm2:360m
model (automatically pulled on startup) - Memes are cached after first upload to avoid re-uploading
- Auto-restart: The start script restarts the bot every 10 seconds if it crashes
- Requires Ollama to be running locally on port 11434 (default)