Skip to content

Commit

Permalink
fix: the issue that sync command default is open to everyone
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuuzi261 committed Jan 25, 2024
1 parent 5a2e42a commit d0c82c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cogs/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

class Sync(Cog_Extension):

@app_commands.default_permissions(administrator=True)
@app_commands.command(name='sync')
async def sync(self, itn : discord.Interaction):
"""To sync the notification of new Twitter account with database, use this command.
Expand Down

0 comments on commit d0c82c4

Please sign in to comment.