Allow ME to use the LLM in any server
This commit is contained in:
parent
7817c5bd2f
commit
29052eca7e
@ -149,11 +149,10 @@ async def fix_social_media_links(ctx):
|
|||||||
@bot.event
|
@bot.event
|
||||||
async def on_message(ctx):
|
async def on_message(ctx):
|
||||||
if str(bot.user.id) in ctx.content:
|
if str(bot.user.id) in ctx.content:
|
||||||
if (
|
if ctx.guild.id not in core_utils.my_guilds:
|
||||||
ctx.author.id != core_utils.my_id
|
|
||||||
or ctx.guild.id not in core_utils.my_guilds
|
|
||||||
):
|
|
||||||
return
|
return
|
||||||
|
elif ctx.author.id == core_utils.my_id:
|
||||||
|
pass
|
||||||
|
|
||||||
llm_rules = requests.get(core_utils.json_endpoint + "rules.json").json()
|
llm_rules = requests.get(core_utils.json_endpoint + "rules.json").json()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user