Add support, privacy_terms commands

This commit is contained in:
Zeva Rose 2022-05-28 18:37:38 -06:00
parent b5d6da596e
commit 8f6396979b

View file

@ -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"""