chomens-bot-js/commands/gamemodeall.js

11 lines
326 B
JavaScript
Raw Permalink Normal View History

2022-08-14 05:51:45 -04:00
module.exports = {
name: 'gamemodeall',
alias: [],
2023-03-05 03:20:34 -05:00
description: 'Gamemodes everyone (kinda useless now, used to be useful)',
2022-08-14 05:51:45 -04:00
usage: '<hash> <gamemode>',
trusted: 1,
execute (bot, username, sender, prefix, args, config, hash, ownerhash, selector) {
2023-03-05 03:20:34 -05:00
bot.core.run(`minecraft:gamemode ${args.join(' ')} @a`)
2022-11-27 02:35:28 -05:00
}
}