1
Fork 0
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:
yaboytabby 2024-04-14 08:20:12 -05:00
parent 0fd4e218ca
commit 16d3e650c6

View file

@ -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: