status bar in queue and cleaned up embeds, slash command on help
This commit is contained in:
8
bot.py
8
bot.py
@@ -25,6 +25,14 @@ class Astro(commands.Bot):
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
|
||||
# Sync slash commands with Discord
|
||||
print("🔄 Syncing slash commands...")
|
||||
try:
|
||||
synced = await self.tree.sync()
|
||||
print(f"✅ Synced {len(synced)} slash command(s)")
|
||||
except Exception as e:
|
||||
print(f"❌ Failed to sync commands: {e}")
|
||||
|
||||
# Start inactivity checker
|
||||
if not self.inactivity_checker.is_running():
|
||||
self.inactivity_checker.start()
|
||||
|
||||
Reference in New Issue
Block a user