update
This commit is contained in:
parent
d434dad374
commit
85e008a15a
1 changed files with 9 additions and 1 deletions
|
@ -17,7 +17,15 @@ class usercommands(commands.Cog):
|
||||||
name="hello",
|
name="hello",
|
||||||
description="say hi anywhere!",
|
description="say hi anywhere!",
|
||||||
)
|
)
|
||||||
async def query(self, inter: disnake.ApplicationCommandInteraction):
|
async def hellousercommand(self, inter: disnake.ApplicationCommandInteraction):
|
||||||
|
await inter.response.send_message("User installable commands everyone!")
|
||||||
|
|
||||||
|
@commands.user_command(
|
||||||
|
name="meonlytest",
|
||||||
|
description="say hi anywhere!",
|
||||||
|
guild_ids=666378959184855042,
|
||||||
|
)
|
||||||
|
async def meonlytestcommand(self, inter: disnake.ApplicationCommandInteraction):
|
||||||
await inter.response.send_message("User installable commands everyone!")
|
await inter.response.send_message("User installable commands everyone!")
|
||||||
|
|
||||||
def setup(bot: commands.Bot):
|
def setup(bot: commands.Bot):
|
||||||
|
|
Loading…
Reference in a new issue