2023-12-17 19:55:27 +00:00
|
|
|
class CommandSource {
|
2024-01-27 02:24:08 +00: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 19:55:27 +00:00
|
|
|
this.sources = sources
|
2023-12-20 16:54:03 +00:00
|
|
|
this.profile = bot
|
2023-12-17 19:55:27 +00:00
|
|
|
this.hash = hash
|
2023-12-24 17:11:42 +00:00
|
|
|
|
2023-12-17 19:55:27 +00:00
|
|
|
this.owner = owner
|
|
|
|
this.consoleOnly = consoleOnly
|
|
|
|
this.discordMessageEvent = discordMessageEvent
|
2024-01-27 02:24:08 +00:00
|
|
|
this.prefix = prefix
|
2023-12-24 17:11:42 +00:00
|
|
|
|
2023-12-17 19:55:27 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
sendFeedback () {}
|
|
|
|
sendError (message) {
|
|
|
|
this.sendFeedback([{ text: '', color: 'red' }, message], false)
|
2024-01-27 02:24:08 +00:00
|
|
|
|
2023-12-17 19:55:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = CommandSource
|