mjjbennett / gamebot Goto Github PK
View Code? Open in Web Editor NEWWIP Discord bot using Boost::Beast and Boost::Asio.
WIP Discord bot using Boost::Beast and Boost::Asio.
Should this complete the queue early, or remove the queue & delete all state?
Implement one of them. If it doesn't complete the queue early, that functionality should also be added.
cancel_queue
should provide this
possibly remove_message
instead, then add an accept_queue
to replace current remove_message
functionality
this fleshes out the fix to #15
I think I know what this means
Parser should support pulling out:
Numbers
Times
Arguments
all in order.
Then, Queue should be made to work with this.
See removed code in #11
e.g. it->second.async_wait(std::bind(&qb::Bot::handle_queue_timeout, this, msg_id, std::placeholders::_1),
should have a simple abstraction for it & added to Queue once the parser support is there.
Queue should say something akin to "timer will complete in xx.yy hours" or similar
Just search for // ALSO A HACK
Add a queue for outgoing writes & support pings with this, normal writes, and writes from stdin
We're logging too much and this makes it difficult to track the effects new additions are having. Specifically, it would be useful to track code paths from events, given the async nature of the application.
Support for:
Loading/unloading components (via configuration?)
Automatically calling register_actions
Support command remapping, make a better default set of commands, and also add default support for slash commands
Make the bot shutdown cleanly where possible.
See title; look for qb::parse::emote_snowflake(qb::fileio::get_emote("
to see examples of why this is useful.
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.