From 29052eca7e3e5456785e81f5492d4539f83b84ef Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Mon, 22 Apr 2024 11:19:18 -0700 Subject: [PATCH] Allow ME to use the LLM in any server --- app/bot.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/bot.py b/app/bot.py index b99e2f5f..4d2f0d3d 100755 --- a/app/bot.py +++ b/app/bot.py @@ -149,11 +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.author.id != core_utils.my_id - or ctx.guild.id not in core_utils.my_guilds - ): + if ctx.guild.id not in core_utils.my_guilds: return + elif ctx.author.id == core_utils.my_id: + pass llm_rules = requests.get(core_utils.json_endpoint + "rules.json").json()