New commands
See merge request stark-industries/jarvis/jarvis-bot!61
This commit is contained in:
commit
1696d10432
2 changed files with 23 additions and 1 deletions
|
@ -374,6 +374,28 @@ class UtilCog(Extension):
|
|||
embed = build_embed(title="Converted Time", description=f"`{string}`", fields=fields)
|
||||
await ctx.send(embed=embed, ephemeral=private)
|
||||
|
||||
@slash_command(name="support", description="Got issues?")
|
||||
async def _support(self, ctx: InteractionContext) -> None:
|
||||
await ctx.send(
|
||||
f"""
|
||||
Run into issues with {self.bot.user.mention}? Please report them here!
|
||||
|
||||
https://s.zevs.me/jarvis-support
|
||||
|
||||
We'll help as best we can with whatever issues you encounter.
|
||||
"""
|
||||
)
|
||||
|
||||
@slash_command(name="privacy_terms", description="View Privacy and Terms of User")
|
||||
async def _privacy_terms(self, ctx: InteractionContext) -> None:
|
||||
await ctx.send(
|
||||
"""
|
||||
View the privacy statement here: https://s.zevs.me/jarvis-privacy
|
||||
|
||||
View the terms of use here: https://s.zevs.me/jarvis-terms
|
||||
"""
|
||||
)
|
||||
|
||||
|
||||
def setup(bot: Client) -> None:
|
||||
"""Add UtilCog to JARVIS"""
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "jarvis"
|
||||
version = "2.0.1"
|
||||
version = "2.0.2"
|
||||
description = "J.A.R.V.I.S. admin bot"
|
||||
authors = ["Zevaryx <zevaryx@gmail.com>"]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue