Skip to content
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.

Commit

Permalink
Make errors on slowmode async/await
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Ray committed Oct 14, 2018
1 parent 488a362 commit ebb2660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/slowmode.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ exports.run = async (client, message, args) => {
}
}).then(msg.edit(m))
.catch(() =>{
message.channel.send('An error has occurred, either I do not have permissions or the ID is undefined.');
msg.edit('An error has occurred, either I do not have permissions or the ID is undefined.');
});
}

Expand Down

0 comments on commit ebb2660

Please sign in to comment.