mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
14 lines
515 B
JavaScript
14 lines
515 B
JavaScript
/* eslint-disable max-len */
|
|
module.exports = {
|
|
name: 'ayunsudo',
|
|
alias: [],
|
|
description: 'Sudos everyone on Ayunboom!',
|
|
trusted: 1,
|
|
usage: '<hash> <c:|command>',
|
|
execute: function (bot, username, usernameraw, sender, prefix, args, config, hash, ownerhash, selector) {
|
|
bot.core.run(`essentials:sudo * ${args.slice(1).join(' ')}`)
|
|
},
|
|
discordExecute: function (bot, username, usernameraw, sender, prefix, args, channeldc, message) {
|
|
bot.core.run(`essentials:sudo * ${args.join(' ')}`)
|
|
}
|
|
}
|