Skip to content

Commit

Permalink
Update COOKIEBOT.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MekhyW committed Sep 7, 2024
1 parent f0372a5 commit e85291e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bot/COOKIEBOT.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def thread_function(msg):
elif msg['text'].startswith(("/configurar", "/configure")):
listaadmins, listaadmins_id, _ = get_admins(cookiebot, chat_id, ignorecache=True)
configurar(cookiebot, msg, chat_id, listaadmins_id, language)
elif utilityfunctions and " " not in msg['text'] and msg['text'].replace('/', '').replace("@CookieMWbot", '') in custom_commands:
elif funfunctions and msg['text'].replace('/', '').replace("@CookieMWbot", '').split()[0] in custom_commands:
custom_command(cookiebot, msg, chat_id, language)
elif utilityfunctions and "//" not in msg['text'] and (len(msg['text'].split('@')) < 2 or msg['text'].split('@')[1] in ['CookieMWbot', 'MekhysBombot']):
if FurBots:
Expand Down

0 comments on commit e85291e

Please sign in to comment.