From 90ad6f89cd4d3cb971473175414dd00ebf64d963 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Fri, 18 Feb 2022 22:18:13 -0500 Subject: [PATCH] Check the main variable for bot IDs --- modules/LinkCop/cog.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/LinkCop/cog.py b/modules/LinkCop/cog.py index b2ccdf9..4942376 100644 --- a/modules/LinkCop/cog.py +++ b/modules/LinkCop/cog.py @@ -2,6 +2,7 @@ import re import discord from discord.ext import commands import random +from BotResources import PDB_KNOWN_BOT_IDS regex_link = re.compile('(http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+)') @@ -40,11 +41,12 @@ class LinkCop(commands.Cog): 758792783020163084 # Bots ] - self.whitelisted_ID = [ - 756327271597473863, # Greada ID - 915064996994633729, # Jorn ID + # Bring in the known bot IDs from PDB bots + self.whitelisted_ID = PDB_KNOWN_BOT_IDS + + self.whitelisted_ID.append([ 235148962103951360 # Carl Bot - ] + ]) self.add_events()