Skip to content

Commit 6003197

Browse files
committed
Fixing the embed
1 parent 5d7ea6f commit 6003197

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

bot/context_menus.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ async def how_to_use_slash_command(self, interaction: Interaction, message: Mess
115115
interaction (Interaction): The interaction that triggered the command.
116116
message (Message): The message where the command was invoked.
117117
"""
118-
await interaction.response.send_message("To use a slash command, type a forward-slash \"/\" in the chat bar and a list of commands will appear. Click on the one you want to use. For more information visit https://support.discord.com/hc/en-us/articles/1500000368501-Slash-Commands-FAQ. https://support.discord.com/hc/article_attachments/1500003352961")
118+
message_content = "To use a slash command, type a forward-slash \"/\" in the chat bar and a list of commands will appear. Click on the one you want to use. For more information visit https://support.discord.com/hc/en-us/articles/1500000368501-Slash-Commands-FAQ."
119+
file = nextcord.File("../images/slashcommand.png", filename="slashcommand.png")
120+
await interaction.response.send_message(content=message_content, file=file)
119121

120122

121123
def setup(bot):

images/slashcommand.png

54.7 KB
Loading

0 commit comments

Comments
 (0)