Files
NitoriBot/src/command_util/command_context.js
T

13 lines
367 B
JavaScript
Raw Normal View History

2025-05-07 07:27:41 -04:00
class CommandContext {
2025-08-14 10:13:54 -05:00
constructor(name, aliases, description, trustLevel, usages, playerOnly) {
2025-05-07 07:27:41 -04:00
this.data = {};
this.data.name = name;
this.data.aliases = aliases;
this.data.description = description;
this.data.trustLevel = trustLevel;
this.data.usages = usages;
2025-08-14 10:13:54 -05:00
this.data.playerOnly = playerOnly
2025-05-07 07:27:41 -04:00
}
}
module.exports = CommandContext;