Fixed \
This commit is contained in:
parent
0d38fdaed2
commit
4e30bdf60e
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -234,7 +234,7 @@ client.on('message', async message => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (message.cleanContent[0] === '/') {
|
if (message.cleanContent[0] === '/' || message.cleanContent[0] === '\\') {
|
||||||
const messageSplit = message.cleanContent.split(' ');
|
const messageSplit = message.cleanContent.split(' ');
|
||||||
const emoji = findEmoji(message);
|
const emoji = findEmoji(message);
|
||||||
let result = null;
|
let result = null;
|
||||||
|
|
Reference in a new issue