Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

Commit

Permalink
feat: remove some print()
Browse files Browse the repository at this point in the history
  • Loading branch information
FuseFairy committed Nov 12, 2023
1 parent be56e5e commit 134d19f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,11 @@ async def on_ready():
if Filename.endswith('.py'):
await bot.load_extension(f'cogs.{Filename[:-3]}')
logger.info(f'{bot.user} is now running!')
print("Bot is Up and Ready!")
try:
synced = await bot.tree.sync()
print(f"Synced {len(synced)} commands")
except Exception as e:
print(e)
logger.error(f"Error: {e}")

# Load command
@commands.is_owner()
Expand Down

0 comments on commit 134d19f

Please sign in to comment.