Made post command admin only.

This commit is contained in:
alwayscompiling
2022-07-10 21:08:30 -04:00
parent 39f4a108ca
commit 4c6279b444
+1
View File
@@ -19,6 +19,7 @@ class PostHighscores(commands.Cog, name="Post Highscores"):
self.bot = bot
@commands.command(name="post-scores")
@commands.has_permissions(administrator=True)
async def post_highscores(self, ctx: commands.Context):
"""
A command which posts the highscore in the designated channel.