Skip to content

Commit

Permalink
help cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
d4niee committed Aug 25, 2024
1 parent ba15c7c commit 7ff5ef2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/commands/help.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import TelegramBot, { Message } from 'node-telegram-bot-api';

/**
* Basic Ping Pong Command for testing
* @param bot Telegram Bot
* @param msg Message
*/
export default function help(bot: TelegramBot, msg: Message): void {
const chatId = msg.chat.id;
bot.sendMessage(chatId, `Help command`);
}

0 comments on commit 7ff5ef2

Please sign in to comment.