LinkUp-P2P-Chat/chatBot/commands/hello.js

8 lines
251 B
JavaScript
Raw Normal View History

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