mirror of
https://github.com/Matthww/TuneBot.git
synced 2026-09-21 22:57:48 +00:00
Add Privacy Policy and Terms of Service command
This commit is contained in:
@@ -48,3 +48,17 @@ class InfoCommands(app_commands.Group):
|
|||||||
f"Server CPU: `{cpu}`\n\n"
|
f"Server CPU: `{cpu}`\n\n"
|
||||||
)
|
)
|
||||||
await ctx.response.send_message(embed=embed)
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user