Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

Add custom server message autoresponder system to serverconfig#391

Merged
notsniped merged 22 commits intomainfrom
server-message-autoresponder
Oct 8, 2024
Merged

Add custom server message autoresponder system to serverconfig#391
notsniped merged 22 commits intomainfrom
server-message-autoresponder

Conversation

@notsniped
Copy link
Member

@notsniped notsniped commented Oct 8, 2024

💬🔁 Autoresponder System

This allows server managers and owners to configure isobot (using serverconfig commands) to respond in a channel to certain messages from other users, with a custom response!

You can set multiple autoresponders server-wide or limited to a specific channel, set whether the trigger is case-sensitive, as well as being choosing the trigger condition, either when a specific line of text is found in any message, or if the text matches the message content.

More features may be added soon to autoresponders (like response modes), so stay alert!

(autoresponders are configurable only by server members with the Manage Messages permission)

This allows for more flexibility with implementation of `autoresponder names` as configuration reference points.
…ement

Also I finally get to use typing extentions with this so yay
Since the option `active_channels` only currently has support for one channel (or None), it makes more logical sense to name it as `active_channel` rather than `active_channels`.
…sponders, or view information on a specific autoresponder
This contains a bunch of logic for different configuration settings and stuff
@notsniped notsniped added enhancement New feature or request priority:medium area:main Changes to the main functioning code area:framework Any changes to the NKA Framework for isobot type:cogs Any changes to the bot's slash command cogs area:utils Any changes related to the utility commands in isobot labels Oct 8, 2024
@notsniped notsniped self-assigned this Oct 8, 2024
@notsniped notsniped merged commit bb82400 into main Oct 8, 2024
@notsniped notsniped deleted the server-message-autoresponder branch October 8, 2024 11:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area:framework Any changes to the NKA Framework for isobot area:main Changes to the main functioning code area:utils Any changes related to the utility commands in isobot enhancement New feature or request priority:medium size/L type:cogs Any changes to the bot's slash command cogs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant