Fix tiny bug in delete button logic, version bump

This commit is contained in:
Zeva Rose 2022-08-29 17:16:21 +00:00
parent d17f0cdbe3
commit f5517db6ae
2 changed files with 2 additions and 2 deletions

View file

@ -944,7 +944,7 @@ class Jarvis(StatsClient):
if (
not context.author.has_permission(Permissions.MANAGE_MESSAGES)
and not context.author.has_permission(Permissions.ADMINISTRATOR)
and not str(context.author) == uid
and not str(context.author.id) == uid
):
await context.send("I'm afraid I can't let you do that", ephemeral=True)
return # User does not have perms to delete

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "jarvis"
version = "2.2.2"
version = "2.2.3"
description = "JARVIS admin bot"
authors = ["Zevaryx <zevaryx@gmail.com>"]