Purpur
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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 |
|
|