Available commands are:
Blessed be St. Create, progenitor of good code, expeller of bad.
bless$
: Consecrate the occasion.
bless (.*)$
: Have create thank somebody on your behalf.
(requires mention)
Join/leave channels.
^join (#[a-zA-Z0-9\-_#]+)$
: Join a new channel.
(requires mention)
^leave$
: Leave the current channel.
(requires mention)
Show information about OCF users.
^checkacct (.+)$
: Print matching OCF usernames.
(requires mention)
^check (.+)$
: Print information about an OCF user.
(requires mention)
Make references to XKCD easier
(?:xkcd#|xkcd.com/)([0-9]+)
: Show XKCD comic details.
Approve accounts.
^list$
: List accounts pending approval.
(requires mention)
^reject (.+)$
: Reject a pending account.
(requires mention)
(only privileged opers)
^approve (.+)$
: Approve a pending account.
(requires mention)
(only privileged opers)
Show information about internal and external hosts.
^host (\S+)$
: Print information about an internal or external hostname.
(requires mention)
^(?:what (?:isn't it|is it not)\?*|(?:dns )?haiku)$
: https://i.imgur.com/eAwdKEC.png
(requires mention)
Search (or reverse search) for emojis.
^remoji (.+)$
: Show names for emojis.
(requires mention)
^emoji (.+)$
: Search for emojis by name.
(requires mention)
A really long winded way of writing return 'yes'
^is california on fire(\?)?$
:
(requires mention)
^is texas frozen(\?)?$
:
(requires mention)
The Upside Down.
(?:flip|sorry|ban) (.+)$
: uʍop ǝpısdn ʇxǝʇ dıןɟ
(requires mention)
Outsource all your decision making to create.
roll (\d+)d(\d+)
: Roll some dice (e.g. "roll 5d6").
(requires mention)
^!choice (.+)$
: Make your important life choices, separated with ';', with create.
(e.g. !choice study for cs61a; don't study for cs61a)
^!8ball( |$)
: Accurately predict the future using a magic 8-ball.
^!flip$
: Provide an authoritative opinion on whether to approve something.
Print information about GitHub links.
https?://github.com/([^/]+)/([^/]+?)/?(?:[ #]|$)
: Show GitHub project information.
https?://github.com/([^/]+)/([^/]+)/pull/([0-9]+)/?\b
: Show GitHub project pull request information.
https?://github.com/([^/]+)/([^/]+)/issues/([0-9]+)/?\b
: Show GitHub project issue information.
Let me Google that for you.
!yt (.+)$
: Search YouTube
!g (.+)$
: Search Google.
Print group account usernames from domain names and vice versa.
domain (.*)$
:
(requires mention)
group (.*)$
:
(requires mention)
Provide help information.
^macros?$
: Provide a link to the list of macros.
(requires mention)
^help$
: Provide a link to this help page.
(requires mention)
Give automated insight on new technology
^!insight (.+)
: Modern AI based technology insight.
Print useless "motivational" quotes.
^!inspire ?(.*)$
: Print a quote, optionally filtering.
Kanboard is the hottest new thing
(?:k#)([0-9]+)
: Show the Kanboard task and don't break the webserver ;)
Get information about the lab.
is ([a-z]+) in the lab
: Check if a staffer is in the lab.
(requires mention)
(who is|who's) in the lab
: Report on who is currently in the lab.
(requires mention)
(?i)w+i+t+l+
: Report on who is currently in the lab.
Provide OCF image macros, inspired by Phabricator Macros
^#m add (\w+) (.+)$
: Add a new macro.
^#m (?:replace|update) (\w+) (.+)$
: Replace the target of a macro slug.
#m (\w+)
: Return a macro by slug.
^#m rename (\w+) (\w+)$
: Rename a macro.
^#m delete (\w+)$
: Delete a macro.
You're a wizard, Harry.
\bmystery\b|\bwhy (do(es)?n't .+ work|(is|are)n't .+ working)\b|\bhow do(es)? .+ work\b
: ~it is a mystery~
^magic ?(.*)$
: (ノ゚ο゚)ノミ★゜・。。・゜
(requires mention)
Ping multiple users at once in notification groups.
^!notify (?:remove|delete) ([^ ]+) (.+)$
: Remove targets from a notification group, for both owners and members.
^!notify showdumb ([^ ]+)$
: Show the notification group, but don't expand subgroups.
^!notify addme ([^ ]+)$
: Add yourself to a notification group as a member.
!!([^ ]+)
: Notify all targets (owners and members) in the tagged notificaton group.
^!notify (?:remove|delete)me ([^ ]+)$
: Remove yourself from a notification group.
^!notify list$
: List all notification groups.
^!notify show ([^ ]+)$
: Show owners and members of the notification group.
^!notify addowners? ([^ ]+) (.+)$
: Add owner(s) to a notification group.
^!notify delete ([^ ]+)$
: Delete a notifcation group.
^!notify clear ([^ ]+)$
: Reset a notification group, clearing all members.
^!notify addmembers? ([^ ]+) (.+)$
: Add member(s) to a notification group.
^!notify add
: Use create, addmembers, or addowners instead.
^!notify create ([^ ]+)$
: Create a new notification group.
Check your connection.
^p+i+n+g+$
: Respond to a ping.
(requires mention)
Pipe the output of a command to the input of the next command.
^!pipe (.*)$
: Pipe the output of a command to the input of the next command.
Provide historical OCF quotes.
^!quote show (.+)$
: Show quote(s) by ID.
^!quote$
: Show a random quote, optionally filtered by a search term.
^!quote delete (.+)$
: Delete a quote.
^!quote add (.+)$
: Add a new quote.
^!quote rand ?(.*)$
: Show a random quote, optionally filtered by a search term.
Replace text.
(?:^| )s([!@"#$%&\'*./:;=?\\^_`|~])(.+?)\1(.*?)(?:\1g?.*)?$
: Regex-replace some text.
Print RT ticket information.
(?:rt#|ocf.io/rt/)([0-9]+)
: Show RT ticket details.
Reverse the sentence.
^!reverse(?: (.*))?
: Reverse the sentence.
Scramble the words in your sentence in a readable way.
^!scramble(?: (.*))?
: Srclabme the wdros in yuor senncete in a raadeble way.
Your code is probably not ready for production.
s+h+(i+)p+\s*i+t+
: shipit anyway!
Control ocfweb shorturls through ircbot.
^!shorturl delete ([^ ]+)$
: Delete a shorturl.
(only oper)
^!shorturl (?:replace|update) ([^ ]+) (.+)$
: Replace the target of a shorturl slug.
(only oper)
^!shorturl rename ([^ ]+) ([^ ]+)$
: Rename a shorturl.
(only oper)
^!shorturl get (.+)$
: Return a shorturl by slug.
^!shorturl add ([^ ]+) (.+)$
: Add a new shorturl.
(only oper)
¯\_(ツ)_/¯
s+h+r+(u+)g+
: Shhhrrrruuuuuuuuuuuuuugggg.
Print information about Stack Exchange links.
https?://([^/]+)/a/([0-9]+)(?:/|$)
: Provide information about a Stack Exchange answer (or really just the question).
https?://([^/]+)/q(?:uestions)?/([0-9]+)(?:/|$)
: Provide information about a Stack Exchange question.
Really? it's {current_year}.
^!still (.+)
: required docstrings on obvious functions, in 2019 - LOLW
Everything is awful.
^!sux (.+)
: Have create complain for you.
Show your appreciation.
^thank (.*)$
: Have create thank somebody on your behalf.
(requires mention)
thanks,? create
: Thank create for being a helpful robot.
^thanks
: Thank create for being a helpful robot.
(requires mention)
Everything is broken.
^why (doesn't anything work|isn't anything working)$
: https://www.ocf.berkeley.edu/~daradib/dl/ocf/publicity/signs/theory-practice.odt
(requires mention)
Automatically maintain the topic.
^newday$
: Bump the topic, as if it's a new day (mostly for testing).
(requires mention)
(only oper)
Is create turing complete?
^!t$
: Return the best quote ever.
^turing regen(?:erate)?$
: Set models equal to final_model global variable.
(requires mention)
^turing$
: Return the best quote ever.
(requires mention)
Post the contents of tweets.
https?://(?:mobile\.|www\.|m\.)?twitter\.com/[^/]+/status/([0-9]+)
: Show the user and content of a linked tweet.
Show the weather.
^(?:weather|hot|cold)\s*(-c)?\s?(.*)$
: Show weather for a location (defaults to Berkeley).
Add the -c flag for celsius output.
(requires mention)
Provide accurate definitions of people and terms.
^know that (.+?) (is|are) (.+)$
: Create or update a definition.
(requires mention)
^(what|who) (is|are) (.+)$
: Print out the current definition.
(requires mention)
Convert characters into full-width text characters.
^!w2(?:$| )(.*)?
: w i d e n t e x t m o r e
^!w3(?:$| )(.*)?
: s u p e r w i d e t e x t
^!w(?:$| )(.*)?
: widen text
^!(?:thiccen|extrathicc)(?:$| )(.*)?
: 乇乂丅尺卂 丅卄工匚匚 丅乇乂丅