2023-12-17 14:55:27 -05:00
|
|
|
class CommandSource {
|
2024-01-26 21:24:08 -05:00
|
|
|
constructor (player, sources, hash, owner, discordMessageEvent = null, consoleOnly, name, profile, bot, prefix = "~") {
|
|
|
|
this.player = player//kaboom on crack!
|
|
|
|
// idk fr // mabe
|
|
|
|
// /shrug
|
|
|
|
//am i good to restart it?
|
2023-12-17 14:55:27 -05:00
|
|
|
this.sources = sources
|
2023-12-20 11:54:03 -05:00
|
|
|
this.profile = bot
|
2023-12-17 14:55:27 -05:00
|
|
|
this.hash = hash
|
2023-12-24 12:11:42 -05:00
|
|
|
|
2023-12-17 14:55:27 -05:00
|
|
|
this.owner = owner
|
|
|
|
this.consoleOnly = consoleOnly
|
|
|
|
this.discordMessageEvent = discordMessageEvent
|
2024-01-26 21:24:08 -05:00
|
|
|
this.prefix = prefix
|
2023-12-24 12:11:42 -05:00
|
|
|
|
2023-12-17 14:55:27 -05:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
sendFeedback () {}
|
|
|
|
sendError (message) {
|
|
|
|
this.sendFeedback([{ text: '', color: 'red' }, message], false)
|
2024-01-26 21:24:08 -05:00
|
|
|
|
2023-12-17 14:55:27 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = CommandSource
|