Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- permList = {
- all: "*",
- globalall: "global.*",
- customall: "custom.*",
- /* format:
- command: "permission.node",
- */
- mute: "global.mute",
- pmute: "global.pmute",
- unmute: "global.unmute",
- punmute: "global.unmute",
- help: "global.help", //this one can't be negated
- ban: "global.ban",
- //unban: "global.unban",
- kick: "global.kick",
- avatar: "global.avatar",
- info: {
- all: "global.info.*",
- channels: "global.info.channels",
- roles: "global.info.roles",
- members: "global.info.members",
- server: "global.info.server",
- amountusersonrole: "global.info.amountusersonrole",
- amountusersonhighrole: "global.info.amush",
- user: "global.info.user",
- role: "global.info.role",
- channel: "global.info.channel",
- bot: "global.info.bot"
- },
- command: "global.command",
- delcommand: "global.delcommand",
- listcommands: "global.listcommands",
- welcfarew: {
- all: "global.welcfarew.*",
- welcome: {
- all: "global.welcfarew.welcome.*",
- message: "global.welcfarew.welcome.message",
- channel: "global.welcfarew.welcome.channel",
- disable: "global.welcfarew.welcome.disable"
- },
- farewell: {
- all: "global.welcfarew.farewell.*",
- message: "global.welcfarew.farewell.message",
- channel: "global.welcfarew.farewell.channel",
- disable: "global.welcfarew.farewell.disable"
- }
- },
- autorole: "global.autorole",
- delautorole: "global.delautorole",
- mutetime: "global.mutetime",
- coinflip: "global.coinflip",
- random: "global.random",
- feedme: "global.feedme",
- toggleinvites: "global.toggleinvites",
- clear: {
- all: "global.clear.*",
- normal: "global.clear.normal",
- user: "global.clear.user"
- },
- hooktalk: "global.hooktalk",
- ping: "global.ping",
- pong: "global.ping",
- trigger: "global.trigger",
- triggers: "global.triggers",
- deltrigger: "global.deltrigger",
- saltrole: "global.saltrole",
- delsaltrole: "global.delsaltrole",
- actionlogs: {
- all: "global.actionlogs.*",
- set: "global.actionlogs.set",
- disable: "global.actionlogs.disable"
- },
- rip: "global.rip",
- image: {
- all: "global.image.*",
- rotate: "global.image.rotate",
- grayscale: "global.image.grayscale"
- },
- warn: "global.warn",
- setwarns: {
- all: "global.setwarns.*",
- limit: {
- all: "global.setwarns.limit.*",
- set: "global.setwarns.limit.set",
- disable: "global.setwarns.limit.disable"
- },
- punishment: {
- all: "global.setwarns.punishment.*",
- kick: "global.setwarns.punishment.kick",
- ban: "global.setwarns.punishment.ban",
- mute: "global.setwarns.punishment.mute"
- }
- },
- clearwarns: "global.clearwarns",
- numupper: "global.numupper",
- autoname: "global.autoname",
- delautoname: "global.delautoname",
- invite: "global.invite",
- calc: "global.calc",
- role: {
- all: "global.role.*",
- give: "global.role.add",
- take: "global.role.remove"
- },
- addrole: "global.role.add",
- removerole: "global.role.remove",
- encrypt: "global.encrypt",
- decrypt: "global.decrypt",
- setkey: "global.setkey",
- getkey: "global.getkey",
- manageselfrole: {
- all: "global.manageselfrole.*",
- add: "global.manageselfrole.add",
- remove: "global.manageselfrole.remove"
- },
- selfrole: "global.selfrole",
- remind: "global.remind",
- delremind: "global.delremind",
- delreminder: "global.delremind",
- contact: "global.contact", //can't be negated or disabled
- emoji: "global.emoji",
- forcedelete: "global.forcedelete",
- logs: {
- all: "global.logs.*",
- set: "global.logs.set",
- register: "global.logs.register",
- disable: "global.logs.disable",
- enable: "global.logs.enable",
- rolenamelog: "global.logs.rolenamelog"
- },
- p: {
- all: "global.p.*",
- give: "global.p.add",
- take: "global.p.remove",
- enable: "global.p.enable",
- disable: "global.p.disable", //Also counts for clone
- clone: "global.p.disable"
- },
- listperms: "global.listperms",
- listdisables: "global.listdisables",
- bam: "global.bam"
- quote: "global.quote",
- perms: "global.perms",
- selfroles: "global.selfroles",
- rmembers: "global.rmembers"
- };
- this.defaultPerms = [ //List of default permissions. Default permissions are permissions that are always positive unless negated.
- global.encrypt,
- global.decrypt,
- global.setkey,
- global.getkey,
- global.selfrole,
- global.remind,
- global.delremind,
- global.contact,
- global.emoji,
- global.numupper,
- global.invite,
- global.calc,
- global.ping,
- global.hooktalk,
- global.rip,
- global.image.rotate,
- global.image.grayscale,
- global.random,
- global.feedme,
- global.coinflip,
- global.mutetime,
- global.listcommands,
- global.selfroles,
- global.triggers,
- global.avatar,
- global.listperms,
- global.listdisables,
- global.info.channels,
- global.info.roles,
- global.info.members,
- global.info.server,
- global.info.amountusersonrole,
- global.info.amush,
- global.info.user,
- global.info.role,
- global.info.channel,
- global.info.bot,
- global.bam,
- global.quote,
- global.perms,
- global.selfroles,
- global.rmembers ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement