mirror of
https://github.com/kuhyx/signal-bot.git
synced 2026-07-04 13:43:12 +02:00
feat: sendding commands works for emoji messages
This commit is contained in:
parent
08099d7067
commit
55c4bf653a
1
main.py
1
main.py
@ -151,6 +151,7 @@ async def scheduled_task(queue):
|
||||
async def trigger_command(message_content, recipient):
|
||||
message_value = message_message(message_content)
|
||||
try:
|
||||
if message_value !== None:
|
||||
for command_triggers, command_function in command_map.items():
|
||||
if message_value in command_triggers:
|
||||
await command_function(recipient)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user