Compare commits

..

No commits in common. "3deb2e2d522ad16db614ff083b5a235b13422265" and "47bd012c8da05ad9a2006bcb3cf160513c67688e" have entirely different histories.

3 changed files with 4 additions and 13 deletions

View file

@ -9,7 +9,7 @@ Canopy
<a href="https://git.ourfore.st/rainbownapkin/canopy/issues" target="_blank"><img src="https://git.ourfore.st/rainbownapkin/canopy/badges/issues/closed.svg"></a> <a href="https://git.ourfore.st/rainbownapkin/canopy/issues" target="_blank"><img src="https://git.ourfore.st/rainbownapkin/canopy/badges/issues/closed.svg"></a>
<a href="https://www.gnu.org/licenses/agpl-3.0.en.html" target="_blank"><img src="https://img.shields.io/badge/License-AGPL_v3-663366.svg"></a> <a href="https://www.gnu.org/licenses/agpl-3.0.en.html" target="_blank"><img src="https://img.shields.io/badge/License-AGPL_v3-663366.svg"></a>
0.1-Alpha (Panama Red) - Hotfix 2 0.1-Alpha (Panama Red) - Hotfix 1
========= =========
Canopy - /ˈkæ.nə.pi/: Canopy - /ˈkæ.nə.pi/:

View file

@ -1,7 +1,7 @@
{ {
"name": "canopy-of-alpha", "name": "canopy-of-alpha",
"version": "0.1.2", "version": "0.1.1",
"canopyDisplayVersion": "0.1-Alpha (Panama Red) - Hotfix 2", "canopyDisplayVersion": "0.1-Alpha (Panama Red) - Hotfix 1",
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",
"dependencies": { "dependencies": {
"@braintree/sanitize-url": "^7.1.1", "@braintree/sanitize-url": "^7.1.1",

View file

@ -148,15 +148,6 @@ class tokebot{
//Add the toking user to the tokers map //Add the toking user to the tokers map
this.tokers.set(commandObj.socket.user.user, commandObj.argumentArray[0].toLowerCase()); this.tokers.set(commandObj.socket.user.user, commandObj.argumentArray[0].toLowerCase());
if(this.tokeCounter <= 3){
//Drop the toke timer
clearTimeout(this.tokeTimer);
//Roll the toke counter back to 3
this.tokeCounter = 3;
//Re-start the toke timer
this.tokeTimer = setTimeout(this.countdown.bind(this), 1000);
}
//If the user is already in the toke //If the user is already in the toke
}else{ }else{
//Tell them to fuck off //Tell them to fuck off
@ -219,7 +210,7 @@ class tokebot{
//Decrement toke time //Decrement toke time
this.tokeCounter--; this.tokeCounter--;
//try again in another second //try again in another second
this.tokeTimer = setTimeout(this.countdown.bind(this), 1000); this.tokeTimer = setTimeout(this.countdown.bind(this), 1000)
} }
/** /**