Archived
fixed NOT_FOUND + error message color
This commit is contained in:
1 parent
8298027d4d
commit
7bc970a357
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -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 {
|
||||||
|
|||||||
@@ -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 = {
|
||||||
|
|||||||
Reference in new issue
Block a user