chomens-bot-js/commands/ayunsudo.js

13 lines
440 B
JavaScript

module.exports = {
name: 'ayunsudo',
alias: [],
description: 'Sudos everyone on Ayunboom!',
trusted: 1,
usage: '<hash> <c:|command>',
execute (bot, username, sender, prefix, args, config, hash, ownerhash, selector) {
bot.core.run(`essentials:sudo * ${args.slice(1).join(' ')}`)
},
discordExecute (bot, username, sender, prefix, args, channeldc, message) {
bot.core.run(`essentials:sudo * ${args.join(' ')}`)
}
}