mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-04-29 14:17:17 +09:00
Improve AI
This commit is contained in:
parent
6bda8d0c7e
commit
e90cafe29a
@ -114,7 +114,7 @@ export default class ServerModule implements IModule {
|
|||||||
public onReplyThisModule = (msg: MessageLike) => {
|
public onReplyThisModule = (msg: MessageLike) => {
|
||||||
if (msg.text == null) return;
|
if (msg.text == null) return;
|
||||||
|
|
||||||
if (msg.text.includes('やめ')) {
|
if (msg.text.includes('やめ') || msg.text.includes('まって')) {
|
||||||
if (msg.user.isAdmin) {
|
if (msg.user.isAdmin) {
|
||||||
msg.reply(serifs.REBOOT_CANCEL_REQUESTED_ACCEPT);
|
msg.reply(serifs.REBOOT_CANCEL_REQUESTED_ACCEPT);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user