LinkUp-P2P-Chat/chatBot/commands/hello.js
2024-06-04 01:19:56 -04:00

8 lines
236 B
JavaScript

export default {
name: 'hello',
description: 'Greet the user',
handler: function(bot, args, message) {
const userName = message.name;
bot.sendMessage(`Hello, ${userName}! How can I assist you today?`);
}
};