Add dale user command
All checks were successful
Build and push / changes (push) Successful in 25s
Build and push / Lint-Python (push) Successful in 1s
Build and push / Build-and-Push-Docker (push) Successful in 2m4s
Build and push / post-status-to-discord (push) Successful in 2s
Build and push / sync-argocd-app (push) Successful in 2s
All checks were successful
Build and push / changes (push) Successful in 25s
Build and push / Lint-Python (push) Successful in 1s
Build and push / Build-and-Push-Docker (push) Successful in 2m4s
Build and push / post-status-to-discord (push) Successful in 2s
Build and push / sync-argocd-app (push) Successful in 2s
This commit is contained in:
parent
a1de2bb297
commit
4658bcd85b
@ -36,10 +36,16 @@ class AnimalFunctions(commands.Cog):
|
||||
guild_ids=None,
|
||||
name="dale",
|
||||
description="Posts a photo of the goodest boy. Rest in power king",
|
||||
integration_types=[0, 1],
|
||||
contexts=[0, 1, 2],
|
||||
)
|
||||
async def dale(self, ctx: commands.Context):
|
||||
async def dale_slash(self, ctx: commands.Context):
|
||||
await ctx.defer()
|
||||
await ctx.send_followup(file=discord.File(animals.dale()))
|
||||
|
||||
@commands.user_command(
|
||||
guild_ids=None,
|
||||
name="dale",
|
||||
)
|
||||
async def dale_user(self, ctx: commands.Context, user: discord.Member):
|
||||
await ctx.defer()
|
||||
await ctx.send_followup(file=discord.File(animals.dale()))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user