BaumSplitter41 3 недель назад
Родитель
Сommit
c9b077943b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      TEST_BOT_BAUM/main.py

+ 1 - 1
TEST_BOT_BAUM/main.py

@@ -235,7 +235,7 @@ class Situ(discord.ui.Modal):
 
 
 
 
 #Slash command to trigger the Modal form
 #Slash command to trigger the Modal form
-@slash_command()
+@bot.slash_command()
 async def civsitu(self, ctx: discord.ApplicationContext):
 async def civsitu(self, ctx: discord.ApplicationContext):
     """Start a new civ-RP situation."""
     """Start a new civ-RP situation."""
     modal = self.Situ(title="Create a new civ-rp situation") # type: ignore
     modal = self.Situ(title="Create a new civ-rp situation") # type: ignore