BaumSplitter41 3 周之前
父節點
當前提交
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()
+@bot.slash_command()
 async def civsitu(self, ctx: discord.ApplicationContext):
     """Start a new civ-RP situation."""
     modal = self.Situ(title="Create a new civ-rp situation") # type: ignore