mirror of
https://github.com/allthingslinux/tux.git
synced 2024-10-02 16:43:12 +00:00
fix sync.py because i edited it for debugging
This commit is contained in:
parent
0fd4e218ca
commit
16d3e650c6
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ class Sync(commands.Cog):
|
|||
def __init__(self, bot: commands.Bot) -> None:
|
||||
self.bot = bot
|
||||
|
||||
# @commands.has_guild_permissions(administrator=True)
|
||||
@commands.has_guild_permissions(administrator=True)
|
||||
@commands.command(name="sync", description="Syncs the application commands to Discord.")
|
||||
async def sync(self, ctx: commands.Context[commands.Bot], guild: discord.Guild) -> None:
|
||||
if ctx.guild:
|
||||
|
|
Loading…
Reference in a new issue