Merge branch 'bugfix-58' into 'main'
Fix #58 Closes #58 See merge request stark-industries/j.a.r.v.i.s.!10
This commit is contained in:
commit
4b32493cc8
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ async def on_member_join(user: Member):
|
||||||
async def on_message(message: Message):
|
async def on_message(message: Message):
|
||||||
if (
|
if (
|
||||||
not isinstance(message.channel, DMChannel)
|
not isinstance(message.channel, DMChannel)
|
||||||
and not message.author.id == jarvis.client.id
|
and not message.author.id == get_config().client_id
|
||||||
):
|
):
|
||||||
autoreact = db.jarvis.autoreact.find_one(
|
autoreact = db.jarvis.autoreact.find_one(
|
||||||
{"guild": message.guild.id, "channel": message.channel.id}
|
{"guild": message.guild.id, "channel": message.channel.id}
|
||||||
|
|
Loading…
Add table
Reference in a new issue