Skip to content

Incorrect default config #32

@Yanisiman

Description

@Yanisiman

Phoenix-Bot/src/Guild.js

Lines 69 to 99 in a37939c

defaultConfig() {
this.phoenix.bot.guilds.fetch(this.guildId).then((guild) => {
this.config.guildName = guild.name;
});
return {
prefix: "$",
connectionAlert: "false",
updateAlert: "false",
testChannel: null,
everyoneBlackListed: "true",
downloadPort: 8008,
downloadAdress: "http://localhost",
permissions: {
default: {
roles: {
whitelist: [],
blacklist: [],
},
channels: {
whitelist: [],
blacklist: [],
},
members: {
whitelist: [],
blacklist: [],
},
},
},
playlists: {},
};
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions