fixed infinit haha yes
This commit is contained in:
parent
da4865a99d
commit
37913d8dba
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class messageListener extends Listener {
|
|||
|
||||
if (autoresponseStat) {
|
||||
// Infinit haha very yes
|
||||
if (message.content.toLowerCase().startsWith('haha very')) {
|
||||
if (message.content.toLowerCase().startsWith('haha very') && message.content.toLowerCase().endsWith('yes')) {
|
||||
let yes = message.content.toLowerCase().replace('haha', '');
|
||||
yes = yes.replace('yes', '');
|
||||
yes += 'very';
|
||||
|
|
Loading…
Reference in a new issue