|
@@ -77,13 +77,14 @@ class Matesearch(commands.Cog):
|
|
|
#sending the embed
|
|
#sending the embed
|
|
|
search_channel = self._get_channel()
|
|
search_channel = self._get_channel()
|
|
|
msg = await search_channel.send(embeds=[embed])
|
|
msg = await search_channel.send(embeds=[embed])
|
|
|
|
|
+ await search_channel.send(f"<@&{role}>")
|
|
|
await interaction.response.send_message("Your search for players has been submitted.", ephemeral=True)
|
|
await interaction.response.send_message("Your search for players has been submitted.", ephemeral=True)
|
|
|
try:
|
|
try:
|
|
|
await msg.add_reaction("✅")
|
|
await msg.add_reaction("✅")
|
|
|
await msg.add_reaction("❌")
|
|
await msg.add_reaction("❌")
|
|
|
except Exception as e:
|
|
except Exception as e:
|
|
|
await interaction.respond(f"Failed to add reaction: {e}", ephemeral=True)
|
|
await interaction.respond(f"Failed to add reaction: {e}", ephemeral=True)
|
|
|
- await search_channel.send(f"<@&{role}>")
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
#Slash command to trigger the Modal form
|
|
#Slash command to trigger the Modal form
|
|
|
@slash_command()
|
|
@slash_command()
|