Merge branch 'support' into 'dev'

Add support, privacy_terms commands

See merge request stark-industries/jarvis/jarvis-bot!60
This commit is contained in:
Zeva Rose 2022-05-29 00:40:09 +00:00
commit 3bed08a815

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