Open dgw opened 8 years ago
The more I think about it, the more I realize it would be most helpful to have this sort of thing in a shared library, or a shared object in bot.memory
that multiple modules can use. Probably going to implement it in each module separately for expedience, though.
Primary goal: Figure out who wins before even saying anything, so availability of kicking can take into account whether the bot can kick the loser based on channel privileges.
Simple refactor, probably. It's mostly about deciding whether the bot says "loser gets kicked" or not.