feat: add (incomplete) nix flake

dave.py isn't packaged yet. Will try to do this myself but dealing with
vcpkg is a bit annoying.
This commit is contained in:
2026-03-22 17:59:19 -04:00
parent 3232e797c8
commit 4185723b8d
40 changed files with 494 additions and 66 deletions

13
errornocord/fun.py Normal file
View File

@@ -0,0 +1,13 @@
import random
from . import commands
from .constants import REACTIONS
async def on_message(message):
if random.random() < 0.01:
tokens = commands.tokenize(message.content, remove_prefix=False)
for keyword, options in REACTIONS.items():
if keyword in tokens:
await message.add_reaction(random.choice(options))
break