1
Fork 0
mirror of https://github.com/allthingslinux/tux.git synced 2024-10-02 16:43:12 +00:00

add assertation (another) to poll.py

This commit is contained in:
Kasen Engel 2024-09-23 16:46:18 -05:00
parent 6022a1d33d
commit 6241e2199f

View file

@ -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(",")