diff --git a/src/pluralkit/bot/commands/member_commands.py b/src/pluralkit/bot/commands/member_commands.py index 2ad50899..16555da3 100644 --- a/src/pluralkit/bot/commands/member_commands.py +++ b/src/pluralkit/bot/commands/member_commands.py @@ -143,7 +143,7 @@ async def member_delete(ctx: MemberCommandContext, args: List[str]): await ctx.reply("Are you sure you want to delete {}? If so, reply to this message with the member's ID (`{}`).".format(ctx.member.name, ctx.member.hid)) msg = await ctx.client.wait_for_message(author=ctx.message.author, channel=ctx.message.channel, timeout=60.0) - if msg and msg.content == ctx.member.hid: + if msg and msg.content.lower() == ctx.member.hid.lower(): await db.delete_member(ctx.conn, member_id=ctx.member.id) return "Member deleted." else: diff --git a/src/pluralkit/bot/commands/system_commands.py b/src/pluralkit/bot/commands/system_commands.py index ebd0b13d..28ea0383 100644 --- a/src/pluralkit/bot/commands/system_commands.py +++ b/src/pluralkit/bot/commands/system_commands.py @@ -211,7 +211,7 @@ async def system_delete(ctx: CommandContext, args: List[str]): await ctx.reply("Are you sure you want to delete your system? If so, reply to this message with the system's ID (`{}`).".format(ctx.system.hid)) msg = await ctx.client.wait_for_message(author=ctx.message.author, channel=ctx.message.channel, timeout=60.0) - if msg and msg.content == ctx.system.hid: + if msg and msg.content.lower() == ctx.system.hid.lower(): await db.remove_system(ctx.conn, system_id=ctx.system.id) return "System deleted." else: