Skip to content

Commit a25748b

Browse files
authored
Merge pull request #133 from allthingslinux/123-server-guidequick-links
Server Guide
2 parents 5679ca6 + 93ab617 commit a25748b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tux/cogs/utility/guide.py

+4-3
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

@@ -29,7 +29,7 @@ async def guide(self, interaction: discord.Interaction) -> None:
2929
"This command can only be used in a server.", ephemeral=True
3030
)
3131
return
32-
embed = self.create_embed("Server Guide", "welcome to " + guild.name + "!")
32+
embed = self.create_embed("Server Guide", "Welcome to " + guild.name + "!")
3333
if guild.icon:
3434
embed.set_thumbnail(url=guild.icon)
3535
if guild.banner:
@@ -42,13 +42,14 @@ async def guide(self, interaction: discord.Interaction) -> None:
4242
/DEV/VOICE/ Listen to music or just talk.
4343
/VAR/LOG/: See logs related to moderation actions and github logs.
4444
45-
#""",
45+
""",
4646
)
4747
embed.set_footer(
4848
text=f"Requested by {interaction.user.display_name}",
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)