// plugins/basic.js - Basic commands plugin module.exports = { init(bot) { console.log('Basic plugin initialized'); }, cleanup(bot) { console.log('Basic plugin cleaned up'); }, commands: [ { name: 'ping', description: 'Responds with pong', execute(context, bot) { bot.say(context.replyTo, `${context.nick}: pong!`); } }, { name: 'help', description: 'Shows available commands', execute(context, bot) { const commands = Array.from(bot.commands.keys()); bot.say(context.replyTo, `Available commands: ${commands.join(', ')}`); } }, { name: 'time', description: 'Shows current time', execute(context, bot) { const now = new Date().toLocaleString(); bot.say(context.replyTo, `Current time: ${now}`); } } ] };