Skip to content

Commit

Permalink
Ups.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreMor8 committed Aug 8, 2020
1 parent cf93c2c commit e4802c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/image/screenshot.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const timer = new Map();
module.exports = {
run: async (bot, message, args) => {
if (!args[1]) return message.channel.send("Put some URL");
if((!timer.get(message.author.id)) && message.author.id !== "577000793094488085") {
if((!timer.get(message.author.id)) || message.author.id !== "577000793094488085") {
timer.set(message.author.id, true)
setTimeout(() => {
timer.delete(message.author.id);
Expand Down

0 comments on commit e4802c1

Please sign in to comment.