User Tools

Site Tools


melanobot:modules:fun

Fun Module

This module provides some funny functionality

Handlers

Morse

Inherits SimpleAction.

Translates to/from morse code.

ReverseText

Inherits SimpleAction.

Turns ASCII text upside-down. (Default trigger: reverse)

ChuckNorris

Inherits SimpleAction.

Jack Norris jokes. (Default trigger: norris)

RenderPony

Inherits SimpleAction.

Draws My Little Pony ASCII art.

PonyCountDown

Inherits SimpleAction.

Show how much time you have to wait to see the next episode of My Little Pony.

  • trigger nextpony
  • url http://api.ponycountdown.com/next – Pony Countdown API URL
  • reply %time_delta until #-b#%title#-# (S%seasonE%episode) Formatted string to show on successful API calls. Allows these expansions:
    • %title – Episode title
    • %season – Season number
    • %episode – Episode number (relative to the season)
    • %duration – Episode duration in minutes
    • %time_delta – Textual desctiption of the time to wait
  • not_found Next episode: not soon enough D: – Simple string to show when the next episode has not been found

PonyFace

Inherits SimpleAction.

Interfaces to the Pony Faces API.

AnswerQuestions

Inherits Handler.

Give sassy answers to any question. Will be triggered by messages ending in a question mark.

  • direct true Whether it shall be triggered only by direct messages

Slap

Inherits SimpleAction.

Slaps someone

RainbowBridgeChat

Inherits BridgeChat.

Like BridgeChat but turns strings into rainbows.

Discord

Inherits SimpleAction.

Shows the Discordian calendar.

  • format %day_name, the %season_day day of %season in the YOLD %yoldFormatted string supporting the following expansions:
    • %day_name – Name of the Erisian week day
    • %season_day – Ordinal number in the season
    • %season – Season name
    • %yold – Yold number
melanobot/modules/fun.txt · Last modified: 2015/06/07 14:30 by melanosuchus