![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
discord_core_api::message_data as its one argument, that returns A bool. define it so that if it returns true, the message is "collected".discord_core_api::object_collector<discord_core_api::message_data> class with arguments to define how many messages are collected, for how long in milliseconds the collection runs, a userId, and the filter function.discord_core_api::object_collector<discord_core_api::message_data>::collectObjects function.discord_core_api::object_collector<discord_core_api::message_data>, which contains a vector of collected discord_core_api::message_datas.