diff --git a/jarvis/client.py b/jarvis/client.py index 74d7f04..3ad5168 100644 --- a/jarvis/client.py +++ b/jarvis/client.py @@ -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 diff --git a/pyproject.toml b/pyproject.toml index cdc1836..52c93fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "jarvis" -version = "2.2.2" +version = "2.2.3" description = "JARVIS admin bot" authors = ["Zevaryx "]