Browse Source

Update linking.py

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

4
cogs/linking.py

@ -14,8 +14,10 @@ class Linking(commands.Cog):
def __init__(self, bot):
self.bot = bot
guild_id = int(os.getenv('guild_id'))
async def link_account(self, message):
@commands.Cog.listener()
async def on_message(self, message):
try:
guild_id
print(str(guild_id) + "exists")

Loading…
Cancel
Save