diff --git a/docs/plugins.md b/docs/plugins.md index 2a08558..70fb617 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -22,7 +22,7 @@ This example adds a command `!mycommand` that replies with `"Reply from my custo ```js module.exports = function({ bot, knex, config, commands }) { commands.addInboxThreadCommand('mycommand', [], (msg, args, thread) => { - thread.replyToUser(msg.author, 'Reply from my custom plugin!'); + thread.replyToUser(msg.member, 'Reply from my custom plugin!'); }); } ```