![]() |
droplet 1.3.0
A multipurpose Discord bot with the hacker in mind
|
#include <YoutubeNotificationService.hpp>
Public Member Functions | |
| YoutubeNotificationService (dpp::cluster &discord, DatabaseExecutor &db) | |
| void | start_job (std::size_t channel_id, const std::string &youtube_id, const std::string &message, std::size_t timestep_sec=500) |
| void | stop_job (const std::string &key) |
| void | load_from_database () |
| void | stop_all () |
| YoutubeNotificationService::YoutubeNotificationService | ( | dpp::cluster & | discord, |
| DatabaseExecutor & | db ) |
| void YoutubeNotificationService::load_from_database | ( | ) |
| void YoutubeNotificationService::start_job | ( | std::size_t | channel_id, |
| const std::string & | youtube_id, | ||
| const std::string & | message, | ||
| std::size_t | timestep_sec = 500 ) |
| void YoutubeNotificationService::stop_all | ( | ) |
| void YoutubeNotificationService::stop_job | ( | const std::string & | key | ) |