From c4e51abc5bfccf150e3a0060015f7f7453987ed5 Mon Sep 17 00:00:00 2001 From: Kami Date: Sun, 2 Feb 2025 00:32:38 +0100 Subject: [PATCH] Specified platform commands were initiated from --- bot_discord.py | 2 +- bot_twitch.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bot_discord.py b/bot_discord.py index 5477609..0d8bb41 100644 --- a/bot_discord.py +++ b/bot_discord.py @@ -24,7 +24,7 @@ class DiscordBot(commands.Bot): async def on_command(self, ctx): """Logs every command execution at DEBUG level.""" - self.log(f"Command executed: {ctx.command} by {ctx.author} in #{ctx.channel}", "DEBUG") + self.log(f"Discord Command executed: {ctx.command} by {ctx.author} in #{ctx.channel}", "DEBUG") async def on_ready(self): self.log(f"Discord bot is online as {self.user}", "INFO") diff --git a/bot_twitch.py b/bot_twitch.py index d097067..9e609c8 100644 --- a/bot_twitch.py +++ b/bot_twitch.py @@ -34,7 +34,7 @@ class TwitchBot(commands.Bot): # Log the command if it's a command if message.content.startswith("!"): - self.log(f"Command executed: {message.content} by {message.author.name} in #{message.channel.name}", "DEBUG") + self.log(f"Twitch Command executed: {message.content} by {message.author.name} in #{message.channel.name}", "DEBUG") # Process the message for command execution await self.handle_commands(message)