#User Install Commands
1 messages · Page 1 of 1 (latest)
Yes it is possible
You pass integration_types= to the slash command
A set that contains discord.IntegrationType
so in this format? @bot.slash_command(name='addy', integration_types=whatever)
If whatever is a set of whatever integrationtypes then yes
yeah, it was just an example. thanks!
you can also set a default integration type in your bot definition
hm, doesnt really seem to work this way
how exactly?
default_command_integration_types
Code?
I just added this part to each command: integration_types=discord.IntegrationType.user_install
I said it gotta be a set
.
Searched in pycord
my bad, could you elaborate a little bit?
dont pass it as bare value, pass it as set ...= {discord.IntegrationType.user_install}