File tree 2 files changed +3
-7
lines changed
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):
66
66
67
67
result_embed = discord .Embed (color = 0x9C84EF )
68
68
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
+ )
70
72
71
73
if user_choice_index == bot_choice_index :
72
74
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 16
16
from discord .ext .commands import Context
17
17
from helpers import checks , db_manager
18
18
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
-
25
19
26
20
class Owner (commands .Cog , name = "owner" ):
27
21
def __init__ (self , bot ):
You can’t perform that action at this time.
0 commit comments