fixed NOT_FOUND + error message color

This commit is contained in:
mmacierzanka committed 2021-06-21 18:33:44 +02:00
1 parent 8298027d4d
commit 7bc970a357
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -94,10 +94,10 @@ class Bot {
return; return;
} }
} }
} else {
else if(m.content.startsWith(this.config.prefix) && !m.author.bot) {
this.messages.system.send('NOT_FOUND', { phrase: m.content, user: m.member || undefined }, m.channel); this.messages.system.send('NOT_FOUND', { phrase: m.content, user: m.member || undefined }, m.channel);
} }
}
}); });
} }
else { else {
+1 -1
View File
@@ -31,7 +31,7 @@ class SystemMessageManager {
this.ERROR = { this.ERROR = {
title: '❌ An error occurred', title: '❌ An error occurred',
bottomText: 'Something went wrong while processing your request.', bottomText: 'Something went wrong while processing your request.',
accentColor: '#f00', accentColor: '#ff0000',
showTimestamp: true showTimestamp: true
} }
this.NOT_FOUND = { this.NOT_FOUND = {