Skip to content

Commands quotes

Teuk edited this page Oct 6, 2026 · 1 revision

Quotes and automatic quotes

Reviewed against Mediabot 3.6dev-20261006_084503 (snapshot of 6 October 2026). This is the development-line reference; consult the tagged source for stable-release behaviour.

Examples use !; replace it with the configured trigger (m, #, etc.). See notation, transport and permissions. Each entry names its registered IRC surfaces; a handler accepting a private context does not itself make a name callable by PM. Plugin and dynamic-command policy may add restrictions.

On this page

halloffame · q · quote · quotecount · randomquote · topquote

halloffame

Alias of topquote; the same options, defaults and checks apply.

Access: public. IRC surfaces: channel.

!halloffame [n]

q

Display a quote.

Access: Public reads/add; authenticated deletion with ownership/channel checks. IRC surfaces: channel.

!q help
!q add <text1> [| <text2> ...]
!q a <text1> [| <text2> ...]
!q del <id>
!q d <id>
!q view <id>
!q v <id>
!q search <word1> [word2 ...]
!q s <word1> [word2 ...]
!q random
!q r
!q stats

Use q r for a random quote; bare q displays syntax. Quotes are scoped to the invocation channel. Quote text is at most 512 characters; | separates displayed quote fragments. Search matches the supplied words literally, escapes SQL wildcard characters, and reports a ranked excerpt/IDs or a failure/empty result instead of silence. Read/search/random/stats and the historical anonymous add path are public. Deletion needs an authenticated User+ who is the author, Administrator+, or meets the target channel deletion threshold (default 100, configurable 0–500).

quote

Quote alias: fetch by nick, add a quote, or count quotes.

Access: public. IRC surfaces: channel.

!quote <nick>
!quote count [nick]
!quote add <text...>

Nickname retrieval and count are compatibility forms. The quote add dispatcher call has a signature mismatch with the quote mutator in this snapshot; use q add for reliable additions. Bare quote asks for a target. This wiki update does not alter that runtime code. See documentation discrepancies.

quotecount

Count quotes by author on the channel.

Access: public. IRC surfaces: channel.

!quotecount [nick]

Counts quotes in the invocation channel, optionally by author nick.

randomquote

Inspect or set the automatic quote frequency; Administrator or target channel level 450.

Access: Authenticated Administrator+ or target channel 450+. IRC surfaces: channel + private message.

!randomquote [#channel]
!randomquote [#channel] status
!randomquote [#channel] every <duration>
!randomquote [#channel] <duration>
!randomquote [#channel] default

Duration is a positive integer with optional m, h, d (case-insensitive); bare integers are minutes. Accepted interval: 15 minutes–7 days. default removes the channel override, not the enable switch. Default is valid main.MAIN_PROG_QUOTE_CHANNEL_TIMER or three hours. +RandomQuote enables and -RandomQuote pauses; setting frequency does not enable it. PM requires explicit channel. Replies are private. The 30-second scheduler sends at most one quote at an eligible attempt, requires JOIN and skips empty channels/quote sets; no catch-up burst. State is private .randomquote-state.json, independent of source updates.

topquote

Channel hall of fame: the most-recalled quotes (default 5, max 10). Alias: halloffame

Access: public. IRC surfaces: channel.

!topquote [n]

Count defaults to 5 and is clamped 1–10. Rankings use quote recall hits, not message volume.

Complete index · Command notation

Clone this wiki locally