Add prod guild

This commit is contained in:
MSWS
2023-04-13 17:56:53 -07:00
parent 64384c3499
commit 5466d37364
4 changed files with 75 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
## Setup
1. `git clone git@ssh.gitlab.edgegamers.io:discord/ds-bot.git`
2. `mkdir configs && mkdir data`
2. `mkdir configs && mkdir -p data/guilds`
3. `npm install`
4. `npm run start`

View File

@@ -2,6 +2,6 @@
"logs": {
"enabled": true,
"minimumLevel": "WARN",
"logChannel": "1056498304336277604"
"logChannel": "676256752886349845"
}
}

View File

@@ -0,0 +1,73 @@
{
"$schema": "https://haste.msws.xyz/raw/F7W4YDtm",
"commands": [
{
"enabled": false,
"name": "foo"
}
],
"react-roles": {
"enabled": true,
"unique": true,
"channel": "934865523018186772",
"embedData": {
"title": "**Dedicated Supporter Perks**",
"description": "Those who help contribute to the longevity of our community through dedicated supporter get some fun Discord perks!\n\nDedicated Supporter Role Colors\nSelect which color you would like to display as below.\n🔴 | <@&934859330921046076>\n🟠 | <@&934859378299908127>\n🟡 | <@&934859419060146226>\n🟢 | <@&934859489155362896>\n🔵 | <@&934859522781098077>\n🟣 | <@&934859586932969614>\n\nDedicated Supporter Custom Voice Chats - <#1056645195510321283>\nTo create your own voice channel, simply connect to the creation room. You can edit the channel through /voice to customize it in any fashion you'd like!",
"color": 39598
},
"roles": [
"934859330921046076",
"934859378299908127",
"934859419060146226",
"934859489155362896",
"934859522781098077",
"934859586932969614"
],
"emotes": [
"🔴",
"🟠",
"🟡",
"🟢",
"🔵",
"🟣"
]
},
"ds-voice": {
"enabled": true,
"joinChannel": "934868461266567168",
"maxSizes": [
2,
10,
15,
50,
100
],
"maxListSizes": [
1,
10,
25,
80,
100
],
"tierRequirements": {
"create": "Silver",
"join": "None",
"rename": "Silver",
"lock": "Gold",
"hide": "Royal",
"list": {
"WHITELIST": "Gold",
"BLACKLIST": "Gold",
"MUTE": "Platinum",
"GAG": "Platinum"
}
}
},
"permissions": {
"leRoles": [
"161257010149588992",
"934859086103711846",
"934859187773640784"
]
}
}

View File

@@ -26,7 +26,6 @@ export class PermissionsManager extends Module {
}
async applyPermissions(perms: OverwriteResolvable[], channel: GuildChannel) {
console.log(`Applying permissions to ${channel.name} in ${channel.guild.name}`);
console.log(perms);
channel.permissionOverwrites.set(perms);
}