Skip to content

Commit 93ab617

Browse files
committed
Add logging
1 parent 450b675 commit 93ab617

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tux/cogs/utility/guide.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import discord
22
from discord import app_commands
33
from discord.ext import commands
4+
from loguru import logger
45

5-
# from loguru import logger
66
from tux.utils.constants import Constants as CONST
77

88

@@ -49,6 +49,7 @@ async def guide(self, interaction: discord.Interaction) -> None:
4949
icon_url=interaction.user.display_avatar.url,
5050
)
5151
embed.timestamp = interaction.created_at
52+
logger.info(f"{interaction.user} used the guide command in {interaction.channel}.")
5253
await interaction.response.send_message(embed=embed)
5354

5455

0 commit comments

Comments
 (0)