|
|
@ -57,7 +57,7 @@ class Extension: |
|
|
|
await interaction.followup.send(f'Профиль отвязан, друг', ephemeral=True) |
|
|
|
return |
|
|
|
|
|
|
|
@commands.Cog.listener() |
|
|
|
@core.listen() |
|
|
|
async def on_member_join(member: discord.Member): |
|
|
|
if member.guild.id != core.main_server_id: |
|
|
|
return |
|
|
@ -80,7 +80,7 @@ class Extension: |
|
|
|
> Если не получается получить роль через бота пиши <@142269939783434240>""" |
|
|
|
return await auth_channel.send(content=welcome_message, delete_after=120) |
|
|
|
|
|
|
|
@commands.Cog.listener() |
|
|
|
@core.listen() |
|
|
|
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: |
|
|
|