File tree Expand file tree Collapse file tree 2 files changed +22
-28
lines changed
Expand file tree Collapse file tree 2 files changed +22
-28
lines changed Original file line number Diff line number Diff line change @@ -64,11 +64,9 @@ async def first_message_for_help(self, event: ipy.events.NewThreadCreate):
6464
6565 try :
6666 message = await thread .send (
67- (
68- "Thank you for using the help system! Please wait for someone to"
69- " help you.\n Once your issue is solved, press the button below to"
70- " close this thread."
71- ),
67+ "Thank you for using the help system! Please wait for someone to"
68+ " help you.\n Once your issue is solved, press the button below to"
69+ " close this thread." ,
7270 components = [[select ], [close_button ]],
7371 )
7472 except ipy .errors .HTTPException :
@@ -77,11 +75,9 @@ async def first_message_for_help(self, event: ipy.events.NewThreadCreate):
7775 # so we're just waiting for discord to get the memo
7876 await asyncio .sleep (5 )
7977 message = await thread .send (
80- (
81- "Thank you for using the help system! Please wait for someone to"
82- " help you.\n Once your issue is solved, press the button below to"
83- " close this thread."
84- ),
78+ "Thank you for using the help system! Please wait for someone to"
79+ " help you.\n Once your issue is solved, press the button below to"
80+ " close this thread." ,
8581 components = [[select ], [close_button ]],
8682 )
8783
Original file line number Diff line number Diff line change @@ -85,25 +85,23 @@ async def about(self, ctx: ipy.InteractionContext):
8585
8686 about_embed .add_field (
8787 name = "Stats:" ,
88- value = "\n " .join (
88+ value = "\n " .join ((
89+ f"Servers: { len (self .bot .guilds )} " ,
90+ f"Commands: { command_num } " ,
8991 (
90- f"Servers: { len (self .bot .guilds )} " ,
91- f"Commands: { command_num } " ,
92- (
93- "Startup Time:"
94- f" { ipy .Timestamp .fromdatetime (self .bot .start_time ).format (ipy .TimestampStyles .RelativeTime )} "
95- ),
96- (
97- "Commit Hash:"
98- f" [{ commit_hash } ](https://github.com/AstreaTSS/AstreasGalaxyBot/commit/{ commit_hash } )"
99- ),
100- (
101- "Interactions.py Version:"
102- f" [{ IPY_VERSION } ](https://github.com/interactions-py/interactions.py/tree/{ IPY_VERSION } )"
103- ),
104- "Made By: [AstreaTSS](https://github.com/AstreaTSS)" ,
105- )
106- ),
92+ "Startup Time:"
93+ f" { ipy .Timestamp .fromdatetime (self .bot .start_time ).format (ipy .TimestampStyles .RelativeTime )} "
94+ ),
95+ (
96+ "Commit Hash:"
97+ f" [{ commit_hash } ](https://github.com/AstreaTSS/AstreasGalaxyBot/commit/{ commit_hash } )"
98+ ),
99+ (
100+ "Interactions.py Version:"
101+ f" [{ IPY_VERSION } ](https://github.com/interactions-py/interactions.py/tree/{ IPY_VERSION } )"
102+ ),
103+ "Made By: [AstreaTSS](https://github.com/AstreaTSS)" ,
104+ )),
107105 inline = True ,
108106 )
109107
You can’t perform that action at this time.
0 commit comments