forked from snxraven/LinkUp-P2P-Chat
8 lines
240 B
JavaScript
8 lines
240 B
JavaScript
export default {
|
|
name: 'hello',
|
|
description: 'Greet the user',
|
|
handler: function(bot, args, message) {
|
|
const userName = message.name;
|
|
bot.sendTextMessage(`Hello, ${userName}! How can I assist you today?`);
|
|
}
|
|
}; |