Added perm check to star

This commit is contained in:
Ryonia Coruscare 2019-05-28 13:08:20 +12:00
parent 360086d862
commit 902ef6d876
Signed by: ryonia
GPG key ID: 5040C0F02BC53C5A

View file

@ -82,6 +82,7 @@ class Star:
dataIO.save_json("data/star/settings.json", self.settings)
@commands.command(pass_context=True)
@checks.admin_or_permissions(manage_messages=True)
async def star(self, ctx, msg_id):
"""Manually add message to the starboard follows same restrictions
does not have a threshold"""