Allow ME to use the LLM in any server

This commit is contained in:
Luke Robles 2024-04-22 11:20:07 -07:00
parent 29052eca7e
commit e6f6edc393

View File

@ -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()