Allow ME to use the LLM in any server
This commit is contained in:
parent
29052eca7e
commit
e6f6edc393
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user