Adding decorator so the trackdays command can be used anywhere
Some checks failed
Build and push / sync-argocd-app (push) Blocked by required conditions
Build and push / post-status-to-discord (push) Blocked by required conditions
Build and push / changes (push) Successful in 4s
Build and push / Lint-Python (push) Successful in 3s
Build and push / Build-and-Push-Docker (push) Has been cancelled
Some checks failed
Build and push / sync-argocd-app (push) Blocked by required conditions
Build and push / post-status-to-discord (push) Blocked by required conditions
Build and push / changes (push) Successful in 4s
Build and push / Lint-Python (push) Successful in 3s
Build and push / Build-and-Push-Docker (push) Has been cancelled
This commit is contained in:
parent
24fdbd2dd3
commit
1f740574d8
@ -32,6 +32,15 @@ class TrackDays(commands.Cog):
|
||||
guild_ids=None,
|
||||
name="trackdays",
|
||||
description="Look up upcoming trackdays",
|
||||
contexts={
|
||||
discord.InteractionContextType.guild,
|
||||
discord.InteractionContextType.bot_dm,
|
||||
discord.InteractionContextType.private_channel,
|
||||
},
|
||||
integration_types={
|
||||
discord.IntegrationType.guild_install,
|
||||
discord.IntegrationType.user_install,
|
||||
},
|
||||
)
|
||||
async def trackdays_lookup(
|
||||
self,
|
||||
|
Loading…
x
Reference in New Issue
Block a user