fix error in pullr

This commit is contained in:
un1xx committed 2025-05-11 17:17:31 +05:30
1 parent c28f012f0c
commit cdb764e586
1 file changed
+2 -2
+2 -2
View File
@@ -209,8 +209,8 @@ class Main(commands.Cog):
"""
git pull and restart the bot.
"""
jskgit = bot.get_command("git")
await ctx.invoke(jskgit, argument="pull")
git = bot.get_command("git")
await ctx.invoke(git, cmd="pull")
restart = bot.get_command("restart")
await ctx.invoke(restart)