gitignore work please

This commit is contained in:
Emily 2020-04-03 11:16:43 +11:00
parent 529744f5d5
commit 559b86261f

View file

@ -1,57 +0,0 @@
const config = {
// Users added to this embed get access to developer-level commands
devs: ['433790467830972417', '324937993972350976', '343081377249493044'],
// Default settings for individual users
defaultUserSettings: {
prefixes: ['~']
},
// Default per-guild settings
defaultGuildSettings: {
prefixes: ['~'],
systemNotice: true
},
// Permission levels
permLevels: [
{
level: 0,
name: 'User',
check: () => true
},
{
level: 1,
name: 'Moderator',
check: (message) => {
try {
if (message.member.roles.cache.has(message.settings.modRole)) return true
} catch (e) {
return false
}
}
},
{
level: 2,
name: 'Administrator',
check: (message) => {
try {
if (message.member.roles.cache.has(message.settings.adminRole) || message.member.permissions.has('ADMINISTRATOR')) return true
} catch (e) {
return false
}
}
},
{
level: 3,
name: 'Server Owner',
check: (message) => message.channel.type === 'text' ? (message.guild.ownerID === message.author.id) : false
}
]
}
module.exports = config