.envexample | ||
LICENSE | ||
main.py | ||
README.md |
Alfreda
Alfreda is the most cursed discord bot ever.
Read more at https://maxwellj.xyz/alfreda
Issues and more are avaliable in this repo, and feel free to clone and experiment!
gpl my beloved
Setup (for self hosting)
-
If you're using Linux, or another platform that doesn't allow packages install through Pip, make a virtual environment.
python -m venv path/to/venv
and activate it withsource path/to/venv/bin/activate.fish
(if using fish, use activate while using bash or sh) -
Run
pip install anthropic discord
to install the Anthropic and Discord API wrappers. (duh) -
Clone the repo
git clone https://git.maxwellj.xyz/max/alfreda.git
andcd alfreda
-
Edit the main.py file with your Anthropic and Discord API keys. Get them at https://console.anthropic.com and https://discord.dev Be sure to not share these with anyone, as you might allow someone to use your Anthropic credits or send messages through your Discord bot!
-
python3 main.py