Просмотр исходного кода

Printing the /commands in the botlog by startup.

BaumSplitter41 4 месяцев назад
Родитель
Сommit
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:")
     for command in bot.pending_application_commands:
         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!#