Преглед изворни кода

Printing the /commands in the botlog by startup.

BaumSplitter41 пре 4 месеци
родитељ
комит
09137d7208
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      VPD_BOT/main.py

+ 1 - 1
VPD_BOT/main.py

@@ -170,7 +170,7 @@ async def on_ready():
     print("Registrierte Slash-Commands:")
     print("Registrierte Slash-Commands:")
     for command in bot.pending_application_commands:
     for command in bot.pending_application_commands:
         print(f" - {command.name}")
         print(f" - {command.name}")
-        await channel.semd(f"- {command.name}")
+        await channel.send(f"- {command.name}")
 
 
 #---------------------------------------------------------------------------------------#
 #---------------------------------------------------------------------------------------#
 #DONT Touch anything above this line, unless you know what you are doing!#
 #DONT Touch anything above this line, unless you know what you are doing!#