From 41ba011caef67f58cdc3c7820d998f086dbc358a Mon Sep 17 00:00:00 2001 From: Purpur <43528123+Pemigrade@users.noreply.github.com> Date: Sun, 10 Jan 2021 05:43:41 -0600 Subject: [PATCH] Create linking_updater.py --- cogs/linking_updater.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 cogs/linking_updater.py diff --git a/cogs/linking_updater.py b/cogs/linking_updater.py new file mode 100644 index 0000000..1831f75 --- /dev/null +++ b/cogs/linking_updater.py @@ -0,0 +1,22 @@ +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'))