/commands
Talking to gthx
In a channel, start with the bot’s nick: gthx: or gthx,. In a private message you don’t need to, but it does no harm. Commands marked no nick work without addressing the bot.
Factoids
Short facts the channel teaches the bot, so anyone can ask for them later.
gthx: extruder is the part that pushes the plastic- Sets a factoid. “are” works too (
gthx: hotends are hot). Setting it again replaces it. gthx: extruder is also a motor- Adds another value to a factoid.
extruder?extruder!no nick- Says the factoid. All its values are joined with “and also”.
extruder? | someuserno nick- Says the factoid to someone.
gthx: forget extruder- Forgets a factoid.
info extruderno nick- How often the factoid was asked for, and who set or deleted it when.
Special factoid values
- Start a value with
<reply>and the bot says just the rest. - Start it with
<action>and the bot does it as a/meaction. !whoand!channelare replaced by the asker’s nick and the channel.- Some factoids are locked and can’t be changed or forgotten.
Messages and reminders
Things for later, for someone else or for you.
gthx: tell someuser the parts arrived- Passes the message on the next time someuser says something.
gthx: remind me in 2 hours to check the print- Reminds you later. See reminder times.
gthx: list reminders- Your reminders that haven’t come due, with their numbers.
gthx: cancel reminder 42- Cancels one of your reminders.
People
Who’s around, and who isn’t.
seen someuser?no nick- When and where someuser last spoke, and what they said. Private messages don’t count.
lurkers?no nick- How many people in the channel have never said anything.
Other
Odds and ends.
gthx: google pla temperature for someuser- Gives someuser a search link.
status?no nick- The bot’s version, uptime and mood.
Reminder times
Times are relative, from a minute to a year ahead. Units are seconds, minutes, hours, days, weeks, months and years; a month is 30 days.
30 minutesan hour2h1h30m1 day and 3 hours2 weeks
Each nick can have 10 reminders waiting, of up to 400 characters each. When one comes due, gthx posts it right away if you’ve spoken in the last 5 minutes and are still online: in the channel you asked in, or by private message if you’ve left it. Otherwise it reminds you the next time you speak. Reminders survive restarts.
Link titles
When someone posts one of these links, gthx replies with its title and how many times it has been linked.
| Site | Example link | Title from |
|---|---|---|
| YouTube | https://youtu.be/<id> | YouTube’s oEmbed API |
| Thingiverse | https://www.thingiverse.com/thing:<number> | Not fetched. The reply gives the thing’s number, or a title saved before. |
| Printables | https://www.printables.com/model/<id>-<name> | The name at the end of the link, or an earlier link to the same model |
| MakerWorld | https://makerworld.com/en/models/<id>-<name> | The same as Printables |