From 716675e11f1fd108848c1338717ffaeec8fba88c Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Fri, 5 Jun 2020 17:06:26 +0300 Subject: [PATCH] Fix error in plugin example --- docs/plugins.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!'); }); } ```