BUGFIX - Working on the startup check

This commit is contained in:
Logan Cusano
2022-02-18 23:12:22 -05:00
parent e36c77a7a5
commit 174d3bcb57
2 changed files with 2 additions and 3 deletions

2
bot.py
View File

@@ -247,7 +247,6 @@ class Bot(commands.Bot):
bots_online = []
def verify_bot_msg(msg):
print(f"Response ID: {msg.author.id}")
if msg.author.id in BotResources.PDB_KNOWN_BOT_IDS:
bots_online.append(msg.author.id)
@@ -443,4 +442,5 @@ class Bot(commands.Bot):
await self.invoke(ctx)
return True
else:
await self.process_commands(message)
return False

View File

@@ -73,8 +73,7 @@ class LinkCop(commands.Cog):
print(f"Link Cop Error: '{err}'")
print(f"Bot or other non-user that has not been whitelisted sent a message")
if not await self.bot.check_and_reply_to_ping(ctx):
await self.bot.process_commands(ctx)
await self.bot.check_and_reply_to_ping(ctx)
async def send_message(self, message):
send_channel = self.bot.get_channel(id=self.reply_channel_id)