summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-12-04 16:55:08 +0500
committerilotterytea <iltsu@alright.party>2025-12-04 16:55:08 +0500
commit5a1df5c2ba0c9793bc3b90b18cc37ae787e68c24 (patch)
tree446cf36922e251a23e82e588295722443ddf9618
parent64e0eaf39dd17da3d17f398a3794a0c775c9af91 (diff)
fix: add prefix for commands in custom commands
-rw-r--r--bot/src/handlers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/src/handlers.cpp b/bot/src/handlers.cpp
index 2d19475..ea6094d 100644
--- a/bot/src/handlers.cpp
+++ b/bot/src/handlers.cpp
@@ -98,7 +98,7 @@ namespace bot::handlers {
}
irc::Message<irc::MessageType::Privmsg> msg2 = message;
- msg2.message = inside;
+ msg2.message = requester.channel_preferences.get_prefix() + inside;
std::optional<command::Response> response =
run_command(bundle, command_loader, msg2, requester, conn);