-
Notifications
You must be signed in to change notification settings - Fork 5
/
options.js
127 lines (109 loc) · 7.02 KB
/
options.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
const config = require('./config.json');
const options = {
patreon: {
description: 'Patreon/Lootbox issues or questions',
message: () =>
`__**Patreon Perks**__\n\n
To access your perks, make sure you’ve linked your Discord with your Patreon.\n\n
To do this, log into your Patreon account and go to the Apps section from your user settings. If you have trouble finding the apps section, click the link below to go straight there.\n\n
<https://www.patreon.com/settings/apps>\n\n
Find Discord under “Third-party Apps” and click connect if you are not yet connected.\n\n
After successfully doing so, you should have the premium roles.\n\n
To link with Dank Memer and get your bot perks, run \`/donor status\` in Dank Memer’s DMs. If you’ve already linked your account, this command will show you information about your tier level and upcoming rewards. If you have not linked, you’ll see a link you can click to finish getting set up.\n\n
***If you are on a monthly plan, you will need to relink once a month so that your perks are still available.*** The process should be quick and easy and only take a minute or two. \n\n
__**Plan Upgrades**__\n\n
If you upgrade your pledge, you will need to re-link your account to get the updated perks. You can relink by visiting: <https://link.dankmemer.lol/>\n\n
You can use \`/donor status\` at any time to check your current tier and to see when you’ll get your next lootbox(es). Rewards are automatically delivered each week and added to your inventory. If you have DM notifications enabled, you’ll receive a message when they’ve been delivered, and you can check \`/currencylog\` to see that they’ve been added.\n\n
__**Premium Servers**__\n\n
If your pledge is high enough, you can make a server premium to give users perks, such as access to the /weekly command and shorter cooldowns. To make a server premium, go to the server you want to add and run \`/donor premiumserver add\`.\n\n
If you’ve left a server and want to remove your premium redemption, use /donor premiumserver list to find the server’s ID, and then go to any server with Dank Memer and use \`/donor premiumserver remove\`.\n\n
**If this still doesn't answer your question about Patreon:**\n\n
Please visit the FAQ on our website: <https://dankmemer.lol/faq>\n\n
Or go back to the help-desk channel and select the last option to talk to the support staff.\n\n`
},
setting_up: {
description: 'Help with setting up the bot',
message: () =>
`**We have a YouTube playlist**: <https://www.youtube.com/playlist?list=PLVYqhnJuxTsMeTtUvBph5huv46B8phNHh>\n\n**We have a FAQ page**: <https://dankmemer.lol/faq>\n\nIf you are still having issues, or neither of those options are advanced enough for what you are trying to accomplish, you can go back to the help-desk channel and select the last item on the list to talk to a moderator.`
},
bans: {
description: 'Bot ban, bot blacklist, or server ban questions',
message: () =>
`**To appeal any type of ban, you may visit our website**: **https://dankmemer.lol/appeals**\n(*Make sure you're logged in to be able to submit*)\n\nWe read all appeals within 2 weeks. If you have not heard back after that time period, it is likely denied. You are able to appeal again if you'd like.\nIf this doesn't answer your question, you can go back to the help-desk channel and select the last item on the menu to talk to a moderator.\n\n**__Please Note__**: Moderators *don't* have access to your personal data on the bot, so they cannot see reasons for your ban. You either broke server rules, or bot rules listed at https://dankmemer.lol/rules`
},
non_issues: {
description: 'Non-Issue related Dank Memer questions.',
message: () =>
`**Our support is not for these types of questions.**\n\nDue to the mass influx of these types of questions, we employ an attitude of "try it and see". Our support channel is for advanced issues, bugs, etc.\n\nIf you are unable to figure out what your question might be, it might get a response from our dedicated subreddit users: https://www.reddit.com/r/dankmemer/`
},
bugs: {
description: 'Having an issue with Dank Memer, seems like a bug.',
message: () =>
`First, make sure whatever "bug" you are experiencing isn't an intended change posted in the last few messages of <#599044275291947016>. That channel and our community blogs (**https://dankmemer.lol/community/blogs**) contain all of our update notes.\n\nIf it is not, please go back to the help-desk channel and select the last option to speak with a support staff member.`
},
dmc: {
description: 'Dank Memer Community Server',
message: () =>
`**This server is for Dank Memer BOT SUPPORT. We do not answer questions about the community server.**\n\n— If it is a question about the server, ask the staff team within the server.\n— If you are trying to appeal a server ban, just select the "Community Server Ban" option from the appeals page at https://dankmemer.lol/appeals.`
},
reports: {
description: 'Report someone for breaking rules.',
message: () =>
`**To report someone for breaking our rules, please visit https://dankmemer.lol/reports**\n\nTo add proof for your report:\n— Upload it to any server or imgur\n— Copy the image link, and paste it in your report\n**Note: You'll need to log into website to submit the form.**\n\nFull list of rules: https://dankmemer.lol/rules`
},
update_messages: {
description: 'How to get updates messages in your server.',
message: () =>
'Our channel, <#599044275291947016>, is an announcement channel. There is a follow button on the channel when you visit it.\n\nTo learn more, please visit this Discord article: https://support.discord.com/hc/en-us/articles/360028384531-Channel-Following-FAQ'
},
update_role: {
description: 'Update and Status Pings',
custom: async (interaction) => {
const hasRole = interaction.member.roles.includes(config.pingRole);
if (hasRole) {
await interaction.member.removeRole(
config.pingRole,
'Help-Desk role removal'
);
} else {
await interaction.member.addRole(
config.pingRole,
'Help Desk role addition'
);
}
const roleMessage = `I have **${
hasRole ? 'removed' : 'given you'
}** the update role. You will **${
hasRole ? 'no longer get' : 'now get'
}** a ping for updates.`;
return interaction.createFollowup({
content: roleMessage,
flags: 64
});
}
},
support_channel: {
description: 'General Inquiries',
custom: async (interaction) => {
const hasRole = interaction.member.roles.includes(
config.supportRole
);
await interaction.member.addRole(
config.supportRole,
'needs supportive people in their life'
);
if (hasRole) {
return interaction.createFollowup({
content: `You already have access to <#${config.supportChannel}>`,
flags: 64
});
} else {
return interaction.createFollowup({
content: `I have given you access to <#${config.supportChannel}>`,
flags: 64
});
}
}
}
};
module.exports = options;