Skip to content

Commit

Permalink
update canned messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Snazzah committed Mar 9, 2024
1 parent ab30f39 commit b6848da
Show file tree
Hide file tree
Showing 5 changed files with 99 additions and 10 deletions.
17 changes: 8 additions & 9 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"deepscan.vscode-deepscan",
"esbenp.prettier-vscode",
"editorconfig.editorconfig",
"gruntfuggly.todo-tree"
]
}
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"editorconfig.editorconfig",
"gruntfuggly.todo-tree"
]
}
2 changes: 1 addition & 1 deletion src/commands/canned/deleted.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default class Deleted extends CannedMessage {
title: 'Deleted means deleted.',
description: stripIndents`
Deleted means deleted. We do not hoard old audio data; We need that disk space!
If you have trouble getting to your downloads in time, it is recommended to link to Google Drive or Microsoft OneDrive.
If you have trouble getting to your downloads in time, you can join our [Pateron](https://patreon.com/CraigRec) to enable cloud backup to Google Drive, OneDrive or Dropbox.
`
}
]
Expand Down
29 changes: 29 additions & 0 deletions src/commands/canned/dmaccess.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import { stripIndents } from 'common-tags';
import { DexareClient } from 'dexare';

import { CannedMessage } from '../../util/abstracts';

export default class DmAccess extends CannedMessage {
content = {
embeds: [
{
title: 'In order to have Craig be able to DM you, you can:',
description: stripIndents`
1. **DM Craig first**, that way a DM channel between you and Craig has been created and should allow Craig to DM you for future purposes. In order to do this, open @Craig#1289's profile and send anything to their DMs.
2. **Allow Direct Messages in THIS SERVER only**, that way Craig (and other instances of Craig in this server) can easily DM you without being blocked from doing so. To do this, right click the Craig server and go to Privacy Settings and enable Direct Messages.
3. **Check your [Message Requests](https://discord.com/message-requests)**, chances are that Craig might be in there if he tried to DM you before. Click the link provided to be taken to your message requests. [Click here](https://support.discord.com/hc/en-us/articles/7924992471191-Message-Requests) to learn more about Message Requests.
`
}
]
};

constructor(client: DexareClient<any>) {
super(client, {
name: 'dmaccess',
description: 'Information about DM access.',
aliases: ['dma']
});

this.filePath = __filename;
}
}
34 changes: 34 additions & 0 deletions src/commands/canned/patreonaccess.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import { stripIndents } from 'common-tags';
import { DexareClient } from 'dexare';

import { CannedMessage } from '../../util/abstracts';

export default class PatreonAccess extends CannedMessage {
content = {
embeds: [
{
title: 'Patreon Troubleshooting',
description: stripIndents`
1. Log in to the dashboard (https://my.craig.chat) and connect your Patreon account. Benefits should be applied either after connecting or within the next hour.
2. [Connect your Discord account from Patreon](https://support.patreon.com/hc/en-us/articles/212052266-Getting-Discord-access). You can tell that something has changed if your role in this server changes to a supporter role. Patreon may tend to be slow to apply roles.
> Note: **Make sure it's the same account you intend to use Craig.** If you try to link a different Discord and Patreon account via the dashboard, the Discord account that is linked from Patreon itself will take priority and will not apply to the one on the dashboard.
3. Make sure the account you use and the one you log in with are the same one! (No alt accounts)
4. Wait till the start of the next hour for benefits to apply. You can tell if you have benefits when running \`/features\`.
`
}
]
};

constructor(client: DexareClient<any>) {
super(client, {
name: 'patreonaccess',
description: 'Explains access for patrons.',
aliases: ['patronaccess', 'pa']
});

this.filePath = __filename;
}
}
27 changes: 27 additions & 0 deletions src/commands/canned/video.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { stripIndents } from 'common-tags';
import { DexareClient } from 'dexare';

import { CannedMessage } from '../../util/abstracts';

export default class Video extends CannedMessage {
content = {
embeds: [
{
title: 'Video?',
description: stripIndents`
Craig does not record cameras, screenshares, or anything other than audio from your microphone.
`
}
]
};

constructor(client: DexareClient<any>) {
super(client, {
name: 'video',
description: 'Video?',
aliases: ['screenshare', 'camera', 'cam']
});

this.filePath = __filename;
}
}

0 comments on commit b6848da

Please sign in to comment.