You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: main.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -17,17 +17,17 @@ async def update(ctx):
17
17
ifctx.author.idinconfig.owner_ids:
18
18
embed=disnake.Embed(title="Requires GIT. Please install if you do not have it.", description="Bot will still attempt to update. Even if you don't have GIT", color=config.Error())
19
19
embed.set_footer(text=f'Requested by {ctx.author}', icon_url=ctx.author.avatar.url)
20
-
awaitctx.send(ephemeral=True, embed=embed)
20
+
awaitctx.send(embed=embed)
21
21
embed=disnake.Embed(title="Updating...", description="Updating the bot from Github...", color=disnake.Color.random())
22
22
embed.set_footer(text=f'Requested by {ctx.author}', icon_url=ctx.author.avatar.url)
23
-
awaitctx.send(ephemeral=True, embed=embed)
23
+
awaitctx.send(embed=embed)
24
24
os.system("git pull")
25
25
embed=disnake.Embed(title="Updated!", description="Updated the bot from Github!", color=disnake.Color.random())
26
26
embed.set_footer(text=f'Requested by {ctx.author}', icon_url=ctx.author.avatar.url)
27
-
awaitctx.send(ephemeral=True, embed=embed)
27
+
awaitctx.send(embed=embed)
28
28
embed=disnake.Embed(title="Restarting...", description=f'Restarting the bot... If the bot crashes then please check if config needs to be updated or if you need to install a pip module. Report any bugs on the GitHub Located [Here](https://github.com/Person0z/discord.py-template/)', color=disnake.Color.random())
29
29
embed.set_footer(text=f'Requested by {ctx.author}', icon_url=ctx.author.avatar.url)
30
-
awaitctx.send(ephemeral=True, embed=embed)
30
+
awaitctx.send(embed=embed)
31
31
print("If you see python not found. Don't Worry. It will still restart. I have done it for both Linux & Windows OS")
0 commit comments