Skip to content

Commit

Permalink
Update oida.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mik-at authored Feb 20, 2021
1 parent cb951f6 commit eac6353
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions commands/oida.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ module.exports = {
}

let targetusername;
let username;
let targetid;
let sourceid;
let oidacooldown;
Expand All @@ -22,7 +21,7 @@ module.exports = {
targetid = mentionedUser.id;
} else {
targetusername = args.join(" ");
targetid = username.toLowerCase();
targetid = targetusername.toLowerCase();
}
sourceid = message.author.id;

Expand Down

0 comments on commit eac6353

Please sign in to comment.