File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
import discord
2
2
from discord import app_commands
3
3
from discord .ext import commands
4
+ from loguru import logger
4
5
5
- # from loguru import logger
6
6
from tux .utils .constants import Constants as CONST
7
7
8
8
@@ -29,7 +29,7 @@ async def guide(self, interaction: discord.Interaction) -> None:
29
29
"This command can only be used in a server." , ephemeral = True
30
30
)
31
31
return
32
- embed = self .create_embed ("Server Guide" , "welcome to " + guild .name + "!" )
32
+ embed = self .create_embed ("Server Guide" , "Welcome to " + guild .name + "!" )
33
33
if guild .icon :
34
34
embed .set_thumbnail (url = guild .icon )
35
35
if guild .banner :
@@ -42,13 +42,14 @@ async def guide(self, interaction: discord.Interaction) -> None:
42
42
/DEV/VOICE/ Listen to music or just talk.
43
43
/VAR/LOG/: See logs related to moderation actions and github logs.
44
44
45
- # """ ,
45
+ """ ,
46
46
)
47
47
embed .set_footer (
48
48
text = f"Requested by { interaction .user .display_name } " ,
49
49
icon_url = interaction .user .display_avatar .url ,
50
50
)
51
51
embed .timestamp = interaction .created_at
52
+ logger .info (f"{ interaction .user } used the guide command in { interaction .channel } ." )
52
53
await interaction .response .send_message (embed = embed )
53
54
54
55
You can’t perform that action at this time.
0 commit comments