Fix error in plugin example

master
Dragory 2020-06-05 17:06:26 +03:00
parent 1538b25ee5
commit 716675e11f
No known key found for this signature in database
GPG Key ID: 5F387BA66DF8AAC1
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ This example adds a command `!mycommand` that replies with `"Reply from my custo
```js ```js
module.exports = function({ bot, knex, config, commands }) { module.exports = function({ bot, knex, config, commands }) {
commands.addInboxThreadCommand('mycommand', [], (msg, args, thread) => { commands.addInboxThreadCommand('mycommand', [], (msg, args, thread) => {
thread.replyToUser(msg.author, 'Reply from my custom plugin!'); thread.replyToUser(msg.member, 'Reply from my custom plugin!');
}); });
} }
``` ```