Add to Discord bot some command like q!ban @user #time
39ma opened this issue · 3 comments
39ma commented
B3none commented
https://github.com/csgo-league/csgo-league-web/blob/develop/app/Router.php#L59
https://github.com/csgo-league/csgo-league-web/blob/develop/app/Router.php#L60
Here's the endpoints you can use, you'll also need to add a check when people join the queue if you don't already have one :)
cameronshinn commented
Is there an endpoint where I can check if a user is banned? Does "banning" make it so they can't join League servers? If I am able to check if they are banned then I can prevent them from joining the queue and wasting everyone's time when it pops and the banned user cannot join the server.
B3none commented
They're here @cameronshinn #8 (comment)