diff options
| author | seth <[email protected]> | 2022-12-25 20:46:45 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2022-12-25 20:47:23 -0500 |
| commit | ab804806ece49d36e0146cf549103d798bcea42f (patch) | |
| tree | bc73be50fb96606aa3999cdf5e7a8a182a1c5893 /src | |
| parent | 02271b829b0b428ad330edc0104fe808bec4a590 (diff) | |
fix: dispatch commands after on_message event
Diffstat (limited to 'src')
| -rw-r--r-- | src/moyaiBot/moyaiBot.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/moyaiBot/moyaiBot.py b/src/moyaiBot/moyaiBot.py index 216fe73..f09700a 100644 --- a/src/moyaiBot/moyaiBot.py +++ b/src/moyaiBot/moyaiBot.py @@ -24,7 +24,9 @@ async def on_message(message): index = echo_messages.index(message.content.lower()) await message.channel.send(echo_messages[index]) except ValueError: - return + pass + + await moyai.process_commands(message) @moyai.command() |
