This commit is contained in:
syuilo 2019-02-05 02:13:51 +09:00
parent 5b9d9bc0ef
commit 1962c27388
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
2 changed files with 15 additions and 0 deletions

View file

@ -34,6 +34,7 @@ export default class extends Module {
this.humu(msg) ||
this.batou(msg) ||
this.itai(msg) ||
this.ote(msg) ||
this.ponkotu(msg) ||
this.rmrf(msg) ||
this.shutdown(msg)
@ -292,6 +293,18 @@ export default class extends Module {
return true;
}
@autobind
private ote(msg: Message): boolean {
if (!msg.or(['お手'])) return false;
// メッセージのみ
if (!msg.isDm) return true;
msg.reply(serifs.core.ote);
return true;
}
@autobind
private ponkotu(msg: Message): boolean | HandlerResult {
if (!msg.includes(['ぽんこつ'])) return false;

View file

@ -100,6 +100,8 @@ export default {
itai: name => name ? `${name}、大丈夫ですか…? いたいのいたいの飛んでけっ!` : '大丈夫ですか…? いたいのいたいの飛んでけっ!',
ote: 'くぅん... 私わんちゃんなんですか?',
shutdown: '私まだ眠くないですよ...',
},