g3ner1c / qb-bot Goto Github PK
View Code? Open in Web Editor NEWquizbowl discord bot
License: GNU Affero General Public License v3.0
quizbowl discord bot
License: GNU Affero General Public License v3.0
maybe after v1.0.0 idk
Over the past few days, I've noticed unusually high traffic on the /api/check-answer
endpoint, where some AWS instance would repeatedly check the same answer ~300 times a second. I've added a 20 requests/4 seconds rate limit to all api endpoints and blocked the spammy IPs for now. If a higher rate is needed, then I can increase the rate limit.
I'm wondering if this repository could be the cause, since it's the only repo I'm aware of that uses the endpoint, and the check_answer
function appears in while True
loops.
Might be a potential idea for v2 or when things get more complex
QB Reader's official python library isn't asynchronous (as well as not being maintained), so writing an asynchronous library is a possibility.
QB Reader recently updated their API endpoint for check-answer
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.