File tree Expand file tree Collapse file tree 2 files changed +17
-20
lines changed
Expand file tree Collapse file tree 2 files changed +17
-20
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,7 @@ async def on_command_error(
2626 )
2727 await event .ctx .send (
2828 embeds = utils .error_embed_generate (
29- "You're doing that command too fast! "
30- + "Try again in"
29+ "You're doing that command too fast! " + "Try again in"
3130 f" `{ humanize .precisedelta (delta_wait , format = '%0.0f' )} `."
3231 )
3332 )
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