Check the main variable for bot IDs

This commit is contained in:
Logan Cusano
2022-02-18 22:18:13 -05:00
parent 15cfa5bf94
commit 90ad6f89cd

View File

@@ -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()