[timezone] [p]time set check for owner (#167)

instead of mod
This commit is contained in:
Fixator10
2020-10-11 04:24:43 +04:00
committed by GitHub
parent 971b4a3df2
commit 7d19d8128f

View File

@@ -119,7 +119,7 @@ class Timezone(commands.Cog):
)
@time.command()
@checks.admin_or_permissions(manage_guild=True)
@commands.is_owner()
async def set(self, ctx, user: discord.Member, *, tz=None):
"""Allows the mods to edit timezones."""
if not user: