Files
NitoriBot/CommandModules/command_source.js
T
2025-01-07 06:46:06 -06:00

17 lines
384 B
JavaScript

class CommandSource {
constructor (player, sources, hash = false, discordMessageEvent = null) {
this.player = player
this.sources = sources
this.hash = hash
this.discordMessageEvent = discordMessageEvent
}
sendFeedback () {}
sendError (message) {
this.sendFeedback([{ text: '', color: 'dark_red' }, message], false)
}
}
module.exports = CommandSource