1
0
Fork 0
mirror of synced 2024-05-06 21:52:30 +12:00

Pass the guild object

This commit is contained in:
Dan Hess 2019-12-27 08:26:18 -06:00
parent 99f8d19cef
commit 0fc3ccc518

View file

@ -366,7 +366,7 @@ WHERE
destination=$2 AND
from_to=$3 AND
guild=$4""", source, destination, arg2, ctx.guild.id)
ctx.bot.cache.remove_restriction(ctx.guild.id, arg2, {"source": source, "destination": destination})
ctx.bot.cache.remove_restriction(ctx.guild, arg2, {"source": source, "destination": destination})
# If this isn't a blacklist/whitelist, then we are attempting to remove an overwrite
else: