mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-04-29 09:27:19 +09: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) => {
|
public onMention = (msg: MessageLike) => {
|
||||||
if (msg.user.isAdmin && msg.isMessage && msg.text && msg.text.includes('なんか皆に言って')) {
|
if (msg.user.isAdmin && msg.isMessage && msg.text && msg.text.includes('なんか皆に言って')) {
|
||||||
this.say(msg);
|
this.say();
|
||||||
return true;
|
return true;
|
||||||
} else if (msg.text && msg.text.includes('なんか言って')) {
|
} else if (msg.text && msg.text.includes('なんか言って')) {
|
||||||
this.say(msg);
|
this.say(msg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user