mirror of
https://gitlab.com/niansa/asbots.git
synced 2025-03-06 20:48:25 +01:00
17 lines
421 B
C++
17 lines
421 B
C++
#ifndef _TEST_HPP
|
|
#define _TEST_HPP
|
|
#include "../instance.hpp"
|
|
#include "../serviceBase.hpp"
|
|
|
|
#include <async/result.hpp>
|
|
|
|
|
|
|
|
class TestService : public ServiceBase {
|
|
User user;
|
|
|
|
virtual async::result<void> intitialize() override;
|
|
virtual async::result<void> on_event(const Event& event) override;
|
|
virtual async::result<void> on_direct_privmsg(std::string_view msg, const User& author) override;
|
|
};
|
|
#endif
|