Fix tiny bug in delete button logic, version bump
This commit is contained in:
parent
d17f0cdbe3
commit
f5517db6ae
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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>"]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue