Browse Source

Update linking.py

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

2
cogs/linking.py

@ -14,9 +14,9 @@ class Linking(commands.Cog):
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot
guild_id = int(os.getenv('guild_id'))
async def link_account(self, message): async def link_account(self, message):
global guild_id
print(str(guild_id)) print(str(guild_id))
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

Loading…
Cancel
Save