Browse Source

Update linking.py

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

2
cogs/linking.py

@ -20,7 +20,7 @@ class Linking(commands.Cog):
guild_id guild_id
print(str(guild_id) + "exists") print(str(guild_id) + "exists")
except NameError: except NameError:
guild_id=int(os.getenv('guild_id')
guild_id=int(os.getenv('guild_id'))
print(str(guild_id) + " created") print(str(guild_id) + " created")
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