Closed clragon closed 9 months ago
we should also totally have some sort of clean up for older messages because we dont want to hog 20 GB of memory. so if your message is older than. idk. an hour? it goes bye bye. if someone writes the same message an hour later I guess. maybe that doesnt matter. or maybe we use a full day. or. something like that. maybe we should check what flutterdoc does.
since we are replacing flutterdocs functionality, its vital we also add an anti-spam plugin.
like flutterdoc, this includes:
the bot needs extra permissions for bans.
we can use a userid to message content hash map for this.