Fixed minor issues
This commit is contained in:
@@ -112,7 +112,7 @@ class Admin(commands.Cog):
|
||||
amount: int,
|
||||
user: User,
|
||||
):
|
||||
if ctx.user.id in self.client.config["bot"]["owners"]:
|
||||
if ctx.user.id in self.client.owner_ids:
|
||||
logging.info(
|
||||
"User %s removed %s message(s) in %s",
|
||||
ctx.user.id,
|
||||
@@ -163,7 +163,7 @@ class Admin(commands.Cog):
|
||||
)
|
||||
async def reboot_cmd(self, ctx: ApplicationContext):
|
||||
await ctx.defer(ephemeral=True)
|
||||
if ctx.user.id in self.client.config["bot"]["owners"]:
|
||||
if ctx.user.id in self.client.owner_ids:
|
||||
logging.info("Calling shutdown initiated by %s", guild_name(ctx.user))
|
||||
await ctx.respond(
|
||||
embed=Embed(
|
||||
|
Reference in New Issue
Block a user