BUGFIX LinkCop

Blocked commands
This commit is contained in:
Logan Cusano
2022-01-29 20:48:02 -05:00
parent 263ca89481
commit b46defa94a

View File

@@ -71,6 +71,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)
async def send_message(self, message):
send_channel = self.bot.get_channel(id=self.reply_channel_id)
await send_channel.send(message)