Check the main variable for bot IDs
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user