gsd 2 years ago
parent
commit
0a8a7edb15
  1. 1
      other_ext/register.py
  2. 1
      other_ext/url_checker.py

1
other_ext/register.py

@ -80,6 +80,7 @@ class Extension:
@core.event
async def on_message(message: discord.Message):
print(message.guild.id != core.main_server_id, message.channel.id != self.auth_channel)
if message.guild.id != core.main_server_id:
return

1
other_ext/url_checker.py

@ -19,6 +19,7 @@ class Extension:
await self.__call__(after)
async def __call__(self, message:discord.Message):
print(message.guild.id != self.core.main_server_id, message.author == self.core.user)
if not message.guild:
return

Loading…
Cancel
Save