From 8f6396979b778f2495f49eeecd573bd7f7b8ad59 Mon Sep 17 00:00:00 2001 From: Zevaryx Date: Sat, 28 May 2022 18:37:38 -0600 Subject: [PATCH 1/2] Add support, privacy_terms commands --- jarvis/cogs/util.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/jarvis/cogs/util.py b/jarvis/cogs/util.py index 61a82cd..aeae54d 100644 --- a/jarvis/cogs/util.py +++ b/jarvis/cogs/util.py @@ -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""" From 57f21cd3e4f6986125d0f9e73c512651a31c9205 Mon Sep 17 00:00:00 2001 From: Zevaryx Date: Sun, 29 May 2022 00:40:48 +0000 Subject: [PATCH 2/2] Version bump --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0a833e9..3895875 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 "]