File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,9 @@ async def callback(self, interaction: discord.Interaction):
6666
6767 result_embed = discord .Embed (color = 0x9C84EF )
6868 result_embed .set_author (
69- name = interaction .user .name , icon_url = interaction .user .avatar .url )
69+ name = interaction .user .name ,
70+ icon_url = interaction .user .avatar .url
71+ )
7072
7173 if user_choice_index == bot_choice_index :
7274 result_embed .description = f"**That's a draw!**\n You've chosen { user_choice } and I've chosen { bot_choice } ."
Original file line number Diff line number Diff line change 1616from discord .ext .commands import Context
1717from helpers import checks , db_manager
1818
19- if not os .path .isfile ("config.json" ):
20- sys .exit ("'config.json' not found! Please add it and try again." )
21- else :
22- with open ("config.json" ) as file :
23- config = json .load (file )
24-
2519
2620class Owner (commands .Cog , name = "owner" ):
2721 def __init__ (self , bot ):
You can’t perform that action at this time.
0 commit comments