mirror of
https://github.com/neoarz/Syntrel.git
synced 2025-12-25 11:40:12 +01:00
refactor: (description) owner command handling && fix colors
Standardized embed colors to Discord blurple (0x7289DA) across all cogs. Refactored owner command modules (say, shutdown, sync) to use a shared send_embed helper and improved error handling for permission checks. Updated botinfo title and improved bot owner/team logging in bot.py. Help command now always lists 'owner' category, removing permission checks from category display.
This commit is contained in:
@@ -34,7 +34,7 @@ class RockPaperScissors(discord.ui.Select):
|
||||
bot_choice = random.choice(list(choices.keys()))
|
||||
bot_choice_index = choices[bot_choice]
|
||||
|
||||
result_embed = discord.Embed(title="Rock Paper Scissors", color=0xBEBEFE)
|
||||
result_embed = discord.Embed(title="Rock Paper Scissors", color=0x7289DA)
|
||||
result_embed.set_author(name="Fun", icon_url="https://yes.nighty.works/raw/eW5lLm.webp")
|
||||
|
||||
winner = (3 + user_choice_index - bot_choice_index) % 3
|
||||
|
||||
Reference in New Issue
Block a user