system messages implementation

This commit is contained in:
mmacierzanka committed 2021-06-21 18:22:15 +02:00
1 parent 83cf65c3b8
commit 15be754d3c
3 files changed
+18 -7

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ class Command {
throw new PermissionsError(this, message?.member);
}
}
static processPhrase(phrase?: string | string[]) : string[] {
private static processPhrase(phrase?: string | string[]) : string[] {
if(Array.isArray(phrase)) {
const buff = phrase.map((p) => {
return p.split(' ').join('_');