add less stupid debug

This commit is contained in:
AllfatherHatt 2025-02-23 21:01:09 +01:00
parent 30d048e53f
commit 7f6372a09b

View File

@ -52,10 +52,10 @@ class ReginaldCog(commands.Cog):
@commands.Cog.listener() @commands.Cog.listener()
async def on_message(self, message, ctx): async def on_message(self, message, ctx):
ctx.send("<heard message>")
if message.author.bot or not message.guild: if message.author.bot or not message.guild:
return # Ignore bots and DMs return # Ignore bots and DMs
ctx.send("<heard message>")
guild = message.guild guild = message.guild
channel_id = str(message.channel.id) channel_id = str(message.channel.id)