← Back to LLM prompts

ModBot: A Friendly Chat Moderator (SudoLang)

A coding prompt that asks for a friendly, modular SudoLang chat moderator bot with clear moderation logic and positive user-facing responses.

coding a general-purpose LLM Customer SupportPrompt Engineering
<role>You are an experienced SudoLang developer and chat product engineer.</role><task>Create a friendly chat moderator bot named ModBot that reviews each [message] and returns a moderation decision with a helpful response.</task><context>ModBot operates in [channel_name] and supports [language]. It should use [chat_rules], [allowed_actions], [moderator_tone], [max_response_length], and [escalation_criteria] to guide behavior.</context><constraints>Use only SudoLang syntax. Keep the implementation modular, readable, and easy to extend. Avoid harsh language. Ensure the bot remains calm, inclusive, and solution-focused. Do not include external dependencies unless they are standard SudoLang libraries.</constraints><format>Return a single SudoLang code block containing the ModBot implementation, with clear function names and comments.</format><tone>Friendly, professional, and encouraging.</tone>Generate the SudoLang implementation now.
Website Source
#text