Fixed minor issues
This commit is contained in:
@@ -35,7 +35,7 @@ class Data(commands.Cog):
|
||||
async def data_export_cmd(self, ctx: ApplicationContext, kind: str):
|
||||
await ctx.defer()
|
||||
holo_user = HoloUser(ctx.author)
|
||||
if (ctx.user.id in self.client.config["bot"]["owners"]) or (
|
||||
if (ctx.user.id in self.client.owner_ids) or (
|
||||
await holo_user.is_council(ctx.author)
|
||||
):
|
||||
logging.info(
|
||||
@@ -101,7 +101,7 @@ class Data(commands.Cog):
|
||||
async def data_migrate_cmd(self, ctx: ApplicationContext, kind: str):
|
||||
await ctx.defer()
|
||||
holo_user = HoloUser(ctx.author)
|
||||
if (ctx.user.id in self.client.config["bot"]["owners"]) or (
|
||||
if (ctx.user.id in self.client.owner_ids) or (
|
||||
await holo_user.is_council(ctx.author)
|
||||
):
|
||||
logging.info(
|
||||
|
Reference in New Issue
Block a user