File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,6 @@ def __init__(self, bot: utils.SLBotBase):
1717 self .bot : utils .SLBotBase = bot
1818 self .invite_link = ""
1919
20- asyncio .create_task (self .when_ready ())
21-
22- async def when_ready (self ) -> None :
23- await self .bot .wait_until_ready ()
24- self .invite_link = f"https://discord.com/api/oauth2/authorize?client_id={ self .bot .owner .id } &permissions=8&scope=bot%20applications.commands"
25-
2620 def _get_commit_hash (self ):
2721 return (
2822 subprocess .check_output (["git" , "rev-parse" , "--short" , "HEAD" ])
@@ -95,7 +89,7 @@ async def about(self, ctx: ipy.InteractionContext):
9589 ),
9690 (
9791 "Commit Hash:"
98- f" [{ commit_hash } ](https://github.com/AstreaTSS/AstreasGalaxyBot /commit/{ commit_hash } )"
92+ f" [{ commit_hash } ](https://github.com/Astrea-Stellarium-Labs/StellariumLabsBot /commit/{ commit_hash } )"
9993 ),
10094 (
10195 "Interactions.py Version:"
@@ -108,9 +102,11 @@ async def about(self, ctx: ipy.InteractionContext):
108102 )
109103
110104 links = [
111- f"Invite Bot: [Link]({ self .invite_link } )" ,
112105 "Support Server: [Link](https://discord.gg/NSdetwGjpK)" ,
113- "Source Code: [Link](https://github.com/AstreaTSS/AstreasGalaxyBot)" ,
106+ (
107+ "Source Code:"
108+ " [Link](https://github.com/Astrea-Stellarium-Labs/StellariumLabsBot)"
109+ ),
114110 ]
115111
116112 about_embed .add_field (
You can’t perform that action at this time.
0 commit comments