mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 22:23:03 -04:00
privacy policy
This commit is contained in:
parent
ce127c8782
commit
4e037f9188
3 changed files with 39 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
const { codeblock, highlight, icon, link } = require('../../../labscore/utils/markdown')
|
||||
const { createEmbed, formatPaginationEmbeds } = require('../../../labscore/utils/embed')
|
||||
|
||||
const { DISCORD_INVITE } = require('../../../labscore/constants')
|
||||
const { DISCORD_INVITES } = require('../../../labscore/constants')
|
||||
|
||||
const { paginator } = require('../../../labscore/client');
|
||||
const { editOrReply } = require('../../../labscore/utils/message');
|
||||
|
@ -90,7 +90,7 @@ module.exports = {
|
|||
// Command overview
|
||||
pages.push({embeds:[
|
||||
createEmbed("default", context, {
|
||||
description: `Check pages for detailed command descriptions.\n` + codeblock("ansi", [(prefix + results.map((m)=>{return m.name}).splice(0, 10).join('\n' + prefix))]) + `\n${icon("question")} Need help with something else? Contact us via our ${link(DISCORD_INVITE, "Support Server")}.`
|
||||
description: `Check pages for detailed command descriptions.\n` + codeblock("ansi", [(prefix + results.map((m)=>{return m.name}).splice(0, 10).join('\n' + prefix))]) + `\n${icon("question")} Need help with something else? Contact us via our ${link(DISCORD_INVITES.support, "Support Server")}.`
|
||||
})
|
||||
]})
|
||||
|
||||
|
|
24
commands/message/core/privacy.js
Normal file
24
commands/message/core/privacy.js
Normal file
|
@ -0,0 +1,24 @@
|
|||
const { icon, timestamp, link } = require('../../../labscore/utils/markdown')
|
||||
const { createEmbed } = require('../../../labscore/utils/embed')
|
||||
const { editOrReply } = require('../../../labscore/utils/message');
|
||||
const { PRIVACY_POLICY_LAST_UPDATE, PRIVACY_POLICY_SECTIONS, DISCORD_INVITES, COLORS } = require('../../../labscore/constants');
|
||||
|
||||
module.exports = {
|
||||
description: 'ping!',
|
||||
name: 'privacy',
|
||||
metadata: {
|
||||
description: 'bot latency',
|
||||
examples: ['ping'],
|
||||
category: 'core',
|
||||
usage: 'ping'
|
||||
},
|
||||
run: async (context) => {
|
||||
context.triggerTyping();
|
||||
return await editOrReply(context,
|
||||
createEmbed("default", context, {
|
||||
description: `${icon("rules")} **labsCore Privacy Policy**\n*Last Updated: ${timestamp(PRIVACY_POLICY_LAST_UPDATE, "f")}*\n\n${PRIVACY_POLICY_SECTIONS.join('\n\n')}\n\nIf you have any further questions, please contact us via our ${link(DISCORD_INVITES.privacy, "Support Server")}`,
|
||||
color: COLORS.brand
|
||||
})
|
||||
)
|
||||
},
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue