LeventHAN / SquadStatsJSPRO

An advanced version of SquadStatJS (tracking your squad stats) with advanced discord commands to manage your discord server. (Soon with inbuild stat website)
MIT License
34 stars 29 forks source link

ban check & banlist #78

Closed watchful-eyes closed 2 years ago

watchful-eyes commented 2 years ago

Ban Check:

when I tried the ban checker everything was good except kicking the player coudn't figure out why so I turned api to do the kick action. In order to do that it needs apiToken which gets it from owner's who is declared in config

BanList:

it never checks the endDate's passed so I edit the ban checker, so when the player enters it checks all active: true bans' endDate if the player has ban kicks player, else it changes active: to false and continues to checking till it checks all

it's messy sorry about that 😢