rename systemspecs to systeminfo
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import {ChatCommand} from "../base/chat-command";
|
||||
import {logError, oldSendMessage} from "../util/utils";
|
||||
import {Message} from "typescript-telegram-bot-api";
|
||||
import {systemInfoText} from "../index";
|
||||
|
||||
export class SystemInfo extends ChatCommand {
|
||||
title = "/systemInfo";
|
||||
description = "System information";
|
||||
|
||||
async execute(msg: Message) {
|
||||
await oldSendMessage(msg, systemInfoText).catch(logError);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user