rubot@devtronic — help

commands_

rubot is a small, dependency-light IRC bot in Rust, living in #devs on tchatou and #argentina on libera. Here's everything it can do.

52 commands · prefix >

no command matches that.
basicsthe essentials

help [command]

list commands, or describe one

> help roll
rubot roll [NdM]: roll N dice of M sides (default 1d6)

ping

reply with 'pong'

> ping
rubot pong

echo <text>

echo the text back

> echo hello there
rubot hello there

hello

greet the sender

> hello
rubot hello, you!

roll [NdM]

roll N dice of M sides (default 1d6), e.g. roll 2d20

> roll 2d20
rubot 2d20: 14 + 3 = 17
karmareputation, one nick++ at a time

karma [thing]

karma of <thing> with rank, or the top list; bump with thing++ / thing--

> karma rust
rubot rust has 42 karma (#1 of 9) — last: "clean PR" (nadia)

karmabottom

the lowest-karma things

> karmabottom
rubot karma bottom: monday (-6), merge-conflicts (-8)

karmaweb

link to the web karma board

> karmaweb
rubot karma board: https://karma.devtronic.pro/
weatherwttr.in, with a saved location

add <location>

save your weather location

> add Paris
rubot saved Paris — try >w

w [location]

weather for your saved location

> w
rubot ⛅ Paris: Partly cloudy, 18 (feels like 17) · 💨 9km/h · 💧 62%

fc [location]

3-day forecast

> fc Paris
rubot Paris: 07-30 Sunny 34/22°C · 07-31 Patchy rain 29/20°C · 08-01 …
cryptoprices in USD

crypto <symbol>

USD price of a coin (e.g. crypto btc), via Bitstamp

> crypto btc
rubot BTC/USD: $64183.00 (high $64658.00 / low $63477.46)

coins

top 10 coins by market cap (CoinGecko)

> coins
rubot top coins: BTC $64183, ETH $3200, USDT $1.00, XRP $0.5123, …
dictionary & referencedefinitions, thesaurus, jargon and more (dict.org)

define <word>

dictionary definition of a word

> define ephemeral
rubot ephemeral (adjective): lasting a very short time

dict <word>

WordNet definition

> dict cat
rubot cat: n 1: feline mammal usually having thick soft fur…

definitions <word>

GCIDE dictionary definition

> definitions computer
rubot computer: n. One who computes; a reckoner; a calculator…

thes <word>

Moby thesaurus synonyms

> thes happy
rubot happy: blessed, blissful, blithe, can-do, captivated, cheerful…

wiki <term>

summary of a Wikipedia article

> wiki Rust programming language
rubot Rust (programming language) — Rust is a systems programming language…

urban <term>

urban dictionary definition

> urban yolo
rubot yolo: you only live once. often shouted before a bad decision.

jargon <term>

Jargon File lookup

> jargon foo
rubot foo: term of disgust; used very generally as a sample name…

term <term>

computing term (FOLDOC)

> term ram
rubot ram: Random Access Memory. A data storage device for which…

acronym <abbr>

acronym expansion (VERA)

> acronym RFC
rubot RFC: Request For Comments

element <name>

chemical element info

> element gold
rubot gold: Symbol: Au — Atomic number: 79 — Atomic weight: 196.9…

bible <term>

Easton's Bible Dictionary

> bible grace
rubot grace: the free, unmerited love and favour of God…

biblename <name>

meaning of a Biblical name

> biblename Adam
rubot Adam: red, earthy

law <term>

Bouvier's Law Dictionary

> law tort
rubot tort: a private or civil wrong or injury…
fun & gamesfor when the build is running

8ball <question>

ask the magic 8-ball a yes/no question

> 8ball will it build?
rubot 🎱 Signs point to yes.

rock

play rock-paper-scissors (also: paper, scissors)

> rock
rubot you: rock 🪨 · me: scissors ✂️ — you win! 🎉

paper

play rock-paper-scissors

> paper
rubot you: paper 📄 · me: rock 🪨 — you win! 🎉

scissors

play rock-paper-scissors

> scissors
rubot you: scissors ✂️ · me: rock 🪨 — I win 😎

joke

a random (safe) joke

> joke
rubot UDP is better in the COVID era — it avoids unnecessary handshakes.

fact

a random useless fact

> fact
rubot A group of flamingos is called a flamboyance.

catfact

a random cat fact

> catfact
rubot 🐱 Cats have five toes on their front paws, but only four on the back.

advice

a slip of advice

> advice
rubot 💡 When in doubt, sleep on it.

catgif

a random cat picture

> catgif
rubot 🐱 https://cataas.com/cat?83719

bofh

a BOFH-style excuse

> bofh
rubot BOFH excuse: solar flares

devexcuse

a developer's excuse

> devexcuse
rubot it's not a bug — it works on my machine

chuck

a Chuck Norris fact

> chuck
rubot Chuck Norris can divide by zero.

startup

generate a startup pitch

> startup
rubot we're the Uber for houseplants 🚀

buzz

generate corporate buzz

> buzz
rubot leverage cloud-native ecosystems
social & utilitypeople and tools

seen <nick>

when a nick was last active in the channel

> seen alice
rubot alice was last seen 3h ago in #devs saying: pushed the fix

coffee [nick]

serve someone a coffee

> coffee alice
rubot slides alice a fresh coffee ☕

ty [nick]

thank someone

> ty bob
rubot thanks bob 🙏

drinks

what's on the menu

> drinks
rubot on the menu: ☕ coffee · 🍵 tea · 🧉 mate · 🍺 beer · 🥤 soda · 🍷 wine · 🥃 whisky

tinyurl <url>

shorten a URL via tinyurl.com

> tinyurl https://example.com/a/very/long/path
rubot https://tinyurl.com/2xk4v9

down <host>

check whether a site is reachable

> down example.com
rubot example.com looks up 👍

worldtime <Area/City>

current time in a timezone, e.g. Europe/Paris

> worldtime Europe/Paris
rubot 🕒 Europe/Paris: 04:21 Thursday

md5 <text>

MD5 hex digest of <text>

> md5 abc
rubot md5: 900150983cd24fb0d6963f7d28e17f72

sha1 <text>

SHA1 hex digest of <text>

> sha1 abc
rubot sha1: a9993e364706816aba3e25717850c26c9cd0d89d

sha256 <text>

SHA256 hex digest of <text>

> sha256 abc
rubot sha256: ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad

hash <text>

md5, sha1 and sha256 of <text>

> hash abc
rubot md5: 90015098… · sha1: a9993e36… · sha256: ba7816bf…
adminfor the bot owner

rehash

reload the config live, no restart (admin only)

> rehash
rubot rehash: +#newchan, prefix !, modules