forked from projectmoon/tenebrous-dicebot
projectmoon
f3f5846826
This behavior became broken again after switching away from the macro-based command parsing. The bot would return any non !command message as an error, which would cause it to read more messages, and return those as errors, until finally the matrix SDK would throw up. Command parser now more properly handles empty messages and non-commands, but we also simply abort processing if the incoming message doesn't start with an exclamation point. |
||
---|---|---|
.. | ||
bin | ||
cofd | ||
commands | ||
dice | ||
bot.rs | ||
cofd.rs | ||
commands.rs | ||
dice.rs | ||
help.rs | ||
lib.rs | ||
parser.rs | ||
roll.rs |