Skip to content

Commit

Permalink
🐛 Fix slowmode time
Browse files Browse the repository at this point in the history
  • Loading branch information
Androz2091 committed Jul 28, 2020
1 parent 7274377 commit 7e30058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/message.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ module.exports = class {
if(uSlowmode){
if(uSlowmode.time > Date.now()){
message.delete();
const delay = message.convertTime(Math.ceil((uSlowmode.time - Date.now())), "to");
const delay = message.convertTime(uSlowmode.time, "to", true);
return message.author.send(message.translate("administration/slowmode:PLEASE_WAIT", {
time: delay,
channel: message.channel.toString()
Expand Down

0 comments on commit 7e30058

Please sign in to comment.