From f43cf0fa3129b82ce43472426a28fa6a9469cd41 Mon Sep 17 00:00:00 2001 From: "Ean Milligan (Bastion)" Date: Sun, 10 Jul 2022 02:03:00 -0400 Subject: [PATCH] Add mention of opt-out to the @mention and [[privacy commands --- src/commands/handleMentions.ts | 6 ++++-- src/commands/privacy.ts | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/commands/handleMentions.ts b/src/commands/handleMentions.ts index b90b463..1413fa1 100644 --- a/src/commands/handleMentions.ts +++ b/src/commands/handleMentions.ts @@ -21,8 +21,10 @@ export const handleMentions = (message: DiscordenoMessage) => { color: infoColor1, title: `Hello! I am ${config.name}!`, fields: [{ - name: 'I am a bot that specializes in rolling dice and doing basic algebra', - value: `To learn about my available commands, please run \`${config.prefix}help\``, + name: 'I am a bot that specializes in rolling dice and doing basic algebra.', + value: `To learn about my available commands, please run \`${config.prefix}help\`. + +Want me to ignore you? Simply run \`${config.prefix}opt-out\` and ${config.name} will no longer read your messages or respond to you.`, }], }], }).catch((e: Error) => utils.commonLoggers.messageSendError('handleMentions.ts:30', message, e)); diff --git a/src/commands/privacy.ts b/src/commands/privacy.ts index d916dbb..e5b6d66 100644 --- a/src/commands/privacy.ts +++ b/src/commands/privacy.ts @@ -22,7 +22,9 @@ export const privacy = (message: DiscordenoMessage) => { For more details, please check out the Privacy Policy on the GitHub [here](https://github.com/Burn-E99/TheArtificer/blob/master/PRIVACY.md). -Terms of Service can also be found on GitHub [here](https://github.com/Burn-E99/TheArtificer/blob/master/TERMS.md).`, +Terms of Service can also be found on GitHub [here](https://github.com/Burn-E99/TheArtificer/blob/master/TERMS.md). + +Want me to ignore you? Simply run \`${config.prefix}opt-out\` and ${config.name} will no longer read your messages or respond to you.`, }], }], }).catch((e: Error) => utils.commonLoggers.messageSendError('privacy.ts:33', message, e));