Prechádzať zdrojové kódy

changing command to /spielersuche and fixing the ping

baumsplitter41 3 dní pred
rodič
commit
ed149b233f
1 zmenil súbory, kde vykonal 1 pridanie a 2 odobranie
  1. 1 2
      VPD_BOT/cogs/matesearch.py

+ 1 - 2
VPD_BOT/cogs/matesearch.py

@@ -61,7 +61,6 @@ class Matesearch(commands.Cog):
             embed.add_field(name="Ersteller", value=interaction.user.mention, inline=False)
             embed.add_field(name="Datum", value=self.children[0].value, inline=False)
             embed.add_field(name="Zeit", value=self.children[1].value, inline=False)
-            embed.add_field(name="Ping", value=f"<@&{role}>", inline=False)
             self.embed = embed
 
             #sending the embed
@@ -72,7 +71,7 @@ class Matesearch(commands.Cog):
 
     #Slash command to trigger the Modal form
     @slash_command()
-    async def mitspielergesucht(self, ctx: discord.ApplicationContext):
+    async def spielersuche(self, ctx: discord.ApplicationContext):
         """Start a search for players."""
 
 ## Only be able to send if last request is min 20h old