Browse Source

Update linking_updater.py

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

21
cogs/linking_updater.py

@ -1,22 +1 @@
import os
import discord
import requests
import json
import logging
from discord.ext import commands, tasks
from discord.ext.commands import has_permissions, MissingPermissions
from dotenv import load_dotenv
import aiohttp
import asyncio
class Linking(commands.Cog):
def __init__(self, bot):
self.bot = bot
self.guild_id = int(os.getenv('guild_id'))
self.crabwings_role_id = int(os.getenv('crabwings_role_id'))
self.duckfeet_role_id = int(os.getenv('duckfeet_role_id'))
self.elktail_role_id = int(os.getenv('elktail_role_id'))
self.client_role_id = int(os.getenv('client_role_id'))
self.subuser_role_id = int(os.getenv('subuser_role_id'))
self.verified_role_id = int(os.getenv('verified_role_id'))

Loading…
Cancel
Save