This commit is contained in:
2021-03-04 03:33:54 +03:00
parent 368382f63c
commit 5ac17d713f
67 changed files with 1824 additions and 119 deletions
+16
View File
@@ -0,0 +1,16 @@
import {Command} from "./base/command";
import {sendMessage} from "../base/net";
import {MessageContext} from "../base/base";
export class Q implements Command {
regexp = /^(\/q|умри)/i
title: '/q or умри'
requireAdmin: true
async execute(context: MessageContext, params: string[], reply: MessageContext) {
await sendMessage(context, 'пака')
process.exit()
}
}