From c01e773c317f5baef9958104669560a7fc3d1a6e Mon Sep 17 00:00:00 2001 From: Matthew Date: Tue, 6 Dec 2022 22:55:40 +0100 Subject: [PATCH] Add Privacy Policy and Terms of Service command --- cogs/information/interactions.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/cogs/information/interactions.py b/cogs/information/interactions.py index d7db5a9..36d305b 100644 --- a/cogs/information/interactions.py +++ b/cogs/information/interactions.py @@ -48,3 +48,17 @@ class InfoCommands(app_commands.Group): f"Server CPU: `{cpu}`\n\n" ) await ctx.response.send_message(embed=embed) + + @app_commands.command(name="tos", description="Terms of Service") + async def tos(self, ctx: Interaction): + embed = create_embed(ctx.user) + embed.title = "Terms of Service (ToS)" + embed.description = "[https://exobot.site/static/tos.html](https://exobot.site/static/tos.html)" + await ctx.response.send_message(embed=embed) + + @app_commands.command(name="privacy", description="Privacy Policy") + async def privacy(self, ctx: Interaction): + embed = create_embed(ctx.user) + embed.title = "Privacy Policy" + embed.description = "[https://exobot.site/static/privacy.html](https://exobot.site/static/privacy.html)" + await ctx.response.send_message(embed=embed)