Skip to content

Commit

Permalink
Add missing MessagingProxy.announce
Browse files Browse the repository at this point in the history
  • Loading branch information
zorael committed Feb 23, 2025
1 parent 3b8cb2c commit 82e723b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions source/kameloso/plugins/common/mixins/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,27 @@ private:
caller);
}

// announce
/++
Sends a Twitch announcement.
+/
pragma(inline, true)
void announce(
const IRCEvent.Channel channel,
const string content,
const string colour = "primary",
const Message.Property properties = Message.Property.none,
const string caller = __FUNCTION__)
{
return kameloso.messaging.announce(
state,
channel,
content,
colour,
properties,
caller);
}

// reply
/++
Replies to a channel message.
Expand Down

0 comments on commit 82e723b

Please sign in to comment.