droplet 1.3.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
YoutubeNotificationService Class Reference

#include <YoutubeNotificationService.hpp>

Collaboration diagram for YoutubeNotificationService:

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 ()

Constructor & Destructor Documentation

◆ YoutubeNotificationService()

YoutubeNotificationService::YoutubeNotificationService ( dpp::cluster & discord,
DatabaseExecutor & db )

Member Function Documentation

◆ load_from_database()

void YoutubeNotificationService::load_from_database ( )

◆ start_job()

void YoutubeNotificationService::start_job ( std::size_t channel_id,
const std::string & youtube_id,
const std::string & message,
std::size_t timestep_sec = 500 )

◆ stop_all()

void YoutubeNotificationService::stop_all ( )

◆ stop_job()

void YoutubeNotificationService::stop_job ( const std::string & key)

The documentation for this class was generated from the following files: