This commit is contained in:
insert 2024-08-12 13:11:19 -04:00
parent 75ae2e439b
commit 3cc8e4e2b5
Signed by: insert
GPG key ID: A70775C389ACF105

12
misc.py
View file

@ -29,6 +29,18 @@ class misc(commands.Cog):
except: except:
await interaction.followup.send(message, ephemeral=True) 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): def setup(bot: commands.Bot):