update/player-list-handler
This commit is contained in:
3 files changed
+54
-9
No files matched your search
@@ -312,6 +312,7 @@ class DayzArmbands extends Client {
|
||||
}
|
||||
|
||||
sendError(Channel, Error) {
|
||||
this.error(Error);
|
||||
let embed = new EmbedBuilder()
|
||||
.setColor(this.config.Red)
|
||||
.setDescription(Error);
|
||||
@@ -319,6 +320,7 @@ class DayzArmbands extends Client {
|
||||
Channel.send(embed);
|
||||
}
|
||||
|
||||
// Handles internal errors for slash commands. E.g failed to update database from slash command.
|
||||
sendInternalError(Interaction, Error) {
|
||||
this.error(Error);
|
||||
const embed = new EmbedBuilder()
|
||||
|
||||
Reference in new issue
Block a user