mirror of
https://github.com/syuilo/ai.git
synced 2024-11-21 20:58:00 +00:00
Fix bug
This commit is contained in:
parent
0b665efb7d
commit
4c03b77a9a
|
@ -59,7 +59,7 @@ export default class KeywordModule implements IModule {
|
|||
|
||||
public onMention = (msg: MessageLike) => {
|
||||
if (msg.user.isAdmin && msg.isMessage && msg.text && msg.text.includes('なんか皆に言って')) {
|
||||
this.say(msg);
|
||||
this.say();
|
||||
return true;
|
||||
} else if (msg.text && msg.text.includes('なんか言って')) {
|
||||
this.say(msg);
|
||||
|
|
Loading…
Reference in a new issue