From a28e803f43bbf0f263df6ec4100bf0b1f1deb4bf Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 21 Apr 2024 16:03:34 +0500 Subject: feat: instance bundle --- src/modules/ping.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/modules/ping.hpp') diff --git a/src/modules/ping.hpp b/src/modules/ping.hpp index cf59d66..033f93a 100644 --- a/src/modules/ping.hpp +++ b/src/modules/ping.hpp @@ -4,15 +4,17 @@ #include #include +#include "../bundle.hpp" #include "../commands/command.hpp" namespace bot { namespace mod { class Ping : public command::Command { - std::string get_name() override { return "ping"; } + std::string get_name() const override { return "ping"; } std::variant, std::string> run( - const irc::Message &msg) override { + const InstanceBundle &bundle, + const irc::Message &msg) const override { return "pong"; } }; -- cgit v1.2.3