FridayNightFunkinBoyfriendBot/CommandModules/command_source.js

27 lines
658 B
JavaScript
Raw Normal View History

2023-12-17 14:55:27 -05:00
class CommandSource {
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
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)
2023-12-17 14:55:27 -05:00
}
}
module.exports = CommandSource