Update
This commit is contained in:
parent
75ae2e439b
commit
3cc8e4e2b5
1 changed files with 12 additions and 0 deletions
12
misc.py
12
misc.py
|
@ -29,6 +29,18 @@ class misc(commands.Cog):
|
|||
except:
|
||||
await interaction.followup.send(message, ephemeral=True)
|
||||
|
||||
@nextcord.slash_command(
|
||||
name="testcommand",
|
||||
description="Testing user installable",
|
||||
integration_types=[
|
||||
IntegrationType.user_install,
|
||||
],
|
||||
force_global=True,
|
||||
)
|
||||
async def testcmd(self, interaction: nextcord.Interaction):
|
||||
await interaction.response.send_message("Hey there this is a user installable command!")
|
||||
|
||||
|
||||
|
||||
|
||||
def setup(bot: commands.Bot):
|
||||
|
|
Loading…
Reference in a new issue