Skip to content
This repository was archived by the owner on Sep 3, 2022. It is now read-only.

Commit 350df5f

Browse files
Fix and improve pat command
1 parent 1197b68 commit 350df5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/pat.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = {
1616
if (suffix === '') {
1717
msg.channel.createMessage(res.body.link)
1818
} else {
19-
msg.channel.createMessage(suffix + ', ' + msg.member.nick + ' *pats you*! ' + res.body.link)
19+
msg.channel.createMessage(suffix + ', ' + msg.author.username + ' *pats you!* ' + res.body.link)
2020
}
2121
} else {
2222
global.i18n.send('API_ERROR', msg.channel)

0 commit comments

Comments
 (0)