Browse Source

Update linking.py

master
Purpur 4 years ago
committed by GitHub
parent
commit
3d0913b748
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cogs/linking.py

2
cogs/linking.py

@ -17,7 +17,7 @@ class Linking(commands.Cog):
self.guild_id = int(os.getenv('guild_id')) self.guild_id = int(os.getenv('guild_id'))
@commands.Cog.listener() @commands.Cog.listener()
await link_account(self, message):
async def on_message(self, message):
if message.author != self.bot.user and message.guild == None: if message.author != self.bot.user and message.guild == None:
channel = message.channel channel = message.channel
await channel.send("Processing, please wait...") await channel.send("Processing, please wait...")

Loading…
Cancel
Save