From 6241e2199fa60fda911bee71fee0ac810689b965 Mon Sep 17 00:00:00 2001 From: Kasen Engel Date: Mon, 23 Sep 2024 16:46:18 -0500 Subject: [PATCH] add assertation (another) to poll.py --- tux/cogs/utility/poll.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tux/cogs/utility/poll.py b/tux/cogs/utility/poll.py index d5f6a3f..836a26d 100644 --- a/tux/cogs/utility/poll.py +++ b/tux/cogs/utility/poll.py @@ -80,7 +80,9 @@ class Poll(commands.Cog): """ - assert interaction + assert interaction.guild_id is int + assert interaction.user.id is int + # Split the options by comma options_list = options.split(",")