Skip to content

Commit

Permalink
Update autohunt.js
Browse files Browse the repository at this point in the history
Similar to a previous pull req of mine, makes it so it shows how to fix the problem when someone puts the password but not the amount - its a pretty common thing we have to help out with in #help
  • Loading branch information
coopw1 authored Jul 8, 2023
1 parent 5f364f5 commit 47af1bb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/commands/commandList/zoo/autohunt.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,15 @@ async function autohunt(p, msg, con, args, global, send) {
if (password) password = password.toLowerCase();

if (!cowoncy && !length) {
send('**🚫 | ' + p.getName() + '**, Wrong syntax!', 3000);
send(
'**🚫 | ' +
p.getName() +
'**, Please include your cowoncy amount! The command is `owo autohunt ' +
cowoncy +
' {password}`!\n**<:blank:427371936482328596> |** Password will reset in ' +
(10 - result[0][0].pwtime) +
' minutes'
);
return;
}

Expand Down

0 comments on commit 47af1bb

Please sign in to comment.