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:
parent
6022a1d33d
commit
6241e2199f
1 changed files with 3 additions and 1 deletions
|
@ -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(",")
|
||||
|
||||
|
|
Loading…
Reference in a new issue