Skip to content

Commit 706e9d1

Browse files
authored
Update main.py
1 parent 07ce5d7 commit 706e9d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ async def update(ctx):
1717
if ctx.author.id in config.owner_ids:
1818
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())
1919
embed.set_footer(text=f'Requested by {ctx.author}', icon_url=ctx.author.avatar.url)
20-
await ctx.send(ephemeral=True, embed=embed)
20+
await ctx.send(embed=embed)
2121
embed = disnake.Embed(title="Updating...", description="Updating the bot from Github...", color=disnake.Color.random())
2222
embed.set_footer(text=f'Requested by {ctx.author}', icon_url=ctx.author.avatar.url)
23-
await ctx.send(ephemeral=True, embed=embed)
23+
await ctx.send(embed=embed)
2424
os.system("git pull")
2525
embed = disnake.Embed(title="Updated!", description="Updated the bot from Github!", color=disnake.Color.random())
2626
embed.set_footer(text=f'Requested by {ctx.author}', icon_url=ctx.author.avatar.url)
27-
await ctx.send(ephemeral=True, embed=embed)
27+
await ctx.send(embed=embed)
2828
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())
2929
embed.set_footer(text=f'Requested by {ctx.author}', icon_url=ctx.author.avatar.url)
30-
await ctx.send(ephemeral=True, embed=embed)
30+
await ctx.send(embed=embed)
3131
print("If you see python not found. Don't Worry. It will still restart. I have done it for both Linux & Windows OS")
3232
time.sleep(3.0)
3333
os.system("python3 main.py")

0 commit comments

Comments
 (0)