Commit c35c14bd authored by NogginBlaster's avatar NogginBlaster 🇬🇧
Browse files

Fix permission check

parent 25b88832
......@@ -16,7 +16,7 @@ class VipStatus(commands.Cog):
self.config.register_global(APIDomain=None,APIKey=None,APIEndpointDonator="/donators")
@commands.command(name="donocheck", help="Check GFL donator status given steamid")
@checks.bot_has_permissions(manage_guild=True)
@checks.has_permissions(manage_guild=True)
@checks.bot_in_a_guild()
async def donatorcheck(self, ctx, steam_id: str = None):
domain = await self.config.APIDomain()
......
{
"author": [ "NogginBlaster" ],
"bot_version": [ 1, 0, 11 ],
"bot_version": [ 1, 0, 12 ],
"install_msg": "Vip status installed...",
"short": "Get members VIP status",
"description": "Get members VIP status from steamid64",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment