Skip to content

Commit 693bd4a

Browse files
authored
Update main.php
1 parent a208196 commit 693bd4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ function gamble(int $amt, Message $msg) {
232232
if ($amt == '') {
233233
$message->reply("enter the bet");
234234
} else {
235-
if (isset($GLOBALS[$message->author->id]['lastgamble']) && $GLOBALS[$message->author->id]['lastgamble'] + 3 >= time()) {
235+
if (isset($GLOBALS[$message->author->id]['lastgamble']) && $GLOBALS[$message->author->id]['lastgamble'] + 1 >= time()) {
236236
$embed = makeEmbed($discord, "gambling", [], "calm down man, the bot wont run away!", 11867413);
237237

238238
$builder = MessageBuilder::new()
@@ -578,4 +578,4 @@ function gamble(int $amt, Message $msg) {
578578
});
579579
});
580580

581-
$discord->run();
581+
$discord->run();

0 commit comments

Comments
 (0)