de-OOPify stuff a little

This commit is contained in:
spiral 2021-10-20 12:56:51 -04:00
parent c3fa0554c4
commit 2aadc1a1ef
No known key found for this signature in database
GPG key ID: A6059F0CA0E1BD31
6 changed files with 30 additions and 89 deletions

View file

@ -31,14 +31,6 @@ const CommandPermission = {
return await CommandPermission.isMemberMod(message) || await Guild.isMemberHelper(member);
},
/**
* @param {Message} message
* @returns {Promise.<boolean>}
*/
yes: async (message) => {
return true;
}
};
module.exports = CommandPermission;