Skip to content

Commit eca8090

Browse files
committed
low qualit msg
1 parent ecb9db1 commit eca8090

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

bot/context_menus.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,17 @@ async def use_roadmap_command(self, interaction: Interaction, message: Message):
114114
message (Message): The message where the command was invoked.
115115
"""
116116
await interaction.response.send_message("Please use the `/roadmap` slash command to view the DevOps Roadmap.")
117+
118+
@bot.message_command(name="Low quality message")
119+
async def use_roadmap_command(self, interaction: Interaction, message: Message):
120+
"""
121+
Discord message command to instruct users to use the /roadmap slash command.
122+
123+
Args:
124+
interaction (Interaction): The interaction that triggered the command.
125+
message (Message): The message where the command was invoked.
126+
"""
127+
await interaction.response.send_message("Please review our messages guidelines at https://discord.com/channels/930170875049820181/930171437841526825 and resubmit your message, this message violates the rules.")
117128

118129
@bot.message_command(name="How to use slash commands")
119130
async def how_to_use_slash_command(self, interaction: Interaction, message: Message):

0 commit comments

Comments
 (0)