BUGFIX - Working on the startup check

This commit is contained in:
Logan Cusano
2022-02-18 23:08:01 -05:00
parent eaaeee7109
commit e36c77a7a5
2 changed files with 26 additions and 14 deletions

View File

@@ -73,7 +73,8 @@ 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")
await self.bot.process_commands(ctx)
if not await self.bot.check_and_reply_to_ping(ctx):
await self.bot.process_commands(ctx)
async def send_message(self, message):
send_channel = self.bot.get_channel(id=self.reply_channel_id)