Skip to content

Commit

Permalink
fix: bad naming
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiTenno committed Oct 8, 2018
1 parent f415a9b commit fd5fdeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/settings/MessageManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ class MessaageManager {
if (ctx.webhook.avatar) {
embedCopy.avatarURL = ctx.webhook.avatar;
}
if (ctx.webhook.username) {
embedCopy.username = ctx.webhook.username;
if (ctx.webhook.name) {
embedCopy.username = ctx.webhook.name;
}
const msg = await client.send(text, embedCopy);
if (msg.deletable && ctx.deleteAfterDuration > 0) {
Expand Down

0 comments on commit fd5fdeb

Please sign in to comment.