mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 14:13:02 -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
|
||||
})
|
||||
)
|
||||
},
|
||||
};
|
|
@ -1,3 +1,16 @@
|
|||
module.exports.DISCORD_INVITES = Object.freeze({
|
||||
support: "https://discord.gg/8c4p6xcjru",
|
||||
privacy: "https://discord.gg/sQs8FhcTGh"
|
||||
})
|
||||
|
||||
module.exports.PRIVACY_POLICY_SECTIONS = [
|
||||
'labsCore does not collect any sort of data about its users.',
|
||||
'If the bot encounters unexpected errors we report information about the server, channel, user and command/command arguments (excluding images) to a private log in order to assist with debugging and fixing the problem. You can reference the provided error ID in our support server for further details.',
|
||||
`Images modified via our proprietary api are never stored outside of the channel you executed the command in.`
|
||||
]
|
||||
|
||||
module.exports.PRIVACY_POLICY_LAST_UPDATE = 1655325547140
|
||||
|
||||
module.exports.COLORS = Object.freeze({
|
||||
"error": 15548997,
|
||||
"success": 6411359,
|
||||
|
@ -109,8 +122,6 @@ module.exports.GUILD_FEATURES = Object.freeze({
|
|||
"BOT_DEVELOPER_EARLY_ACCESS": "<:i:903276631173509130> Forum Channels Early Access"
|
||||
})
|
||||
|
||||
module.exports.DISCORD_INVITE = `https://discord.gg/8c4p6xcjru`
|
||||
|
||||
module.exports.TIKTOK_VOICES = [
|
||||
{
|
||||
"name": "English AU - Female",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue