From e6f6edc3930509e38babd79f23e09de738be5ed5 Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Mon, 22 Apr 2024 11:20:07 -0700 Subject: [PATCH] Allow ME to use the LLM in any server --- app/bot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/bot.py b/app/bot.py index 4d2f0d3d..d1623661 100755 --- a/app/bot.py +++ b/app/bot.py @@ -149,10 +149,10 @@ async def fix_social_media_links(ctx): @bot.event async def on_message(ctx): if str(bot.user.id) in ctx.content: - if ctx.guild.id not in core_utils.my_guilds: - return - elif ctx.author.id == core_utils.my_id: + if ctx.author.id == core_utils.my_id: pass + elif ctx.guild.id not in core_utils.my_guilds: + return llm_rules = requests.get(core_utils.json_endpoint + "rules.json").json()