mirror of
https://gitlab.edgegamers.io/discord/ds-bot.git
synced 2025-12-05 23:20:30 -08:00
Add prod guild
This commit is contained in:
@@ -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`
|
||||
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
"logs": {
|
||||
"enabled": true,
|
||||
"minimumLevel": "WARN",
|
||||
"logChannel": "1056498304336277604"
|
||||
"logChannel": "676256752886349845"
|
||||
}
|
||||
}
|
||||
73
configs/guilds/161245089774043136.json
Normal file
73
configs/guilds/161245089774043136.json
Normal 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"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user