#Application Command Slash Option
1 messages · Page 1 of 1 (latest)
it's also a reserved keyword
okay, but hear me out
print the typeof type
and then tell me what it says
except you need to rename type because type is the function you need to use in order to determine type's type
so tell me the output of print(type(renamed_type_arg))
that would be because... as i said, type is of type string
that was just to double check for reference and to convince you
now, you're going to have to look at the option decorator but i don't think you can supply custom types
what you can do is check the renamed_type_arg string and do cases around that
literally if renamed_type_arg == 'discord.Competing' sort of deal for all of them
this is one way to do it, there may be a better one but i don't personally know of it. I would change the options to nicer user facing strings anyway, which this would also allow for
i have no idea what rpc is
that looks like it will work
np
yep, np