Files
NitoriBot/src/commands/rc.js
T
2024-12-19 11:06:50 -05:00

25 lines
478 B
JavaScript

module.exports = {
data: {
name: "rc",
enabled: true,
aliases: [
"refill",
"refillcore"
],
description: "refills the core",
usages: [
]
},
execute (context) {
const bot = context.bot;
const args = context.arguments;
const config = context.config;
if (config.core.itemRefill === true) {
bot.core.itemRefill();
} else {
bot.core.chatRefill();
}
bot.console.command('refilling core,...');
}
}