소스 검색

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:")
     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!#