DwayneBot: Usage

How it's used and where it's available.

Usage

DwayneBot was originally made for my Twitch stream, so it's meant to answer some general questions and look things up, but mostly tell you about me and what I'm currently doing. Here's an example of some commands you can use:

  • !help: Get some information on how to use DwayneBot.
  • !about: About me and the Bot.
  • !music: Get the song name and Spotify link for the song I'm currently playing.
  • !weather: Get the weather in my current location (New York).
  • !random [min] [max]: Get a random number. You can optionally include a min and max.
  • !article: Get the title and link of the latest article in my RSS reader.
  • !coin: Do a coin toss.
  • !uptime: Get how long the server has been running.
  • !wikipedia [search]: Look something up on wikipedia.

The Bot can also understand some general questions that map to these commands. Examples:

  • Hey bot, how does this work? (Translates to: !help)
  • Hey bot, pick a number from 10 to 20. (Translates to: !random 10 20)
  • Hey bot, what's Dwayne's latest post? And the weather over there? (Combines the results from !post and !weather)

Availability

Here are the places you can find DwayneBot:

  • DwayneBot Home Page
    It's always available to try out on that page.
  • 1-1 Meet Rooms
    It's available in each one of the Meet rooms here on the website unless it's been disabled for the room.
  • Stream Chat Room
    It's always available in the chat room here in my self-hosted live streaming platform.
  • My Twitch Channel
    It's available in the Twitch chat when I'm streaming there.
  • IRC
    It's sometimes available in some of the channels in my own IRC server at irc.dwayne.xyz and the Libera.chat IRC server.

Command List

Here's a partial list of the commands DwayneBot knows.

Note: The Bot won't run certain commands if it doesn't trust you enough. If so, it will politely (or not so politely, depending on its mood) tell you that.

!about

I'll tell you a little about us.

!article

I'll get the latest RSS article from Dwayne's reading list.

!articles  [1]

I'll get the latest RSS articles from Dwayne's reading list.

 1: How many articles to get.

!bookmark

I'll get a random bookmark from Dwayne.

!bookmarks  [1]

I'll get random bookmarks from Dwayne.

 1: How many to get.

!calc

I'll look up the Wolfram Alpha definition for the given query.

!calculate

I'll look up the Wolfram Alpha definition for the given query.

!coin

I'll flip a coin and tell you the result.

!coin-flip

I'll flip a coin and tell you the result.

!color

I'll tell you about a color.

!commands  [1]

I'll explain how to use the given command.

 1: The command. (Leave blank for general help)

!contact  [1]

I'll send a message directly to Dwayne.

 1: The message to send.

!d20

I'll pick a random number between 1 and 20.

!date

I'll tell you the date.

!ddg  [1]

I'll search the DuckDuckGo Instant Answers API.

 1: The search query.

!donate

I'll tell you more about the current donation effort.

!duckduckgo  [1]

I'll search the DuckDuckGo Instant Answers API.

 1: The search query.

!flip

I'll flip a coin and tell you the result.

!gear

I'll tell you about Dwayne's computers.

!gif  [1]

I'll get the first GIF from Giphy for the given search.

 1: The search query.

!giphy  [1]

I'll get the first GIF from Giphy for the given search.

 1: The search query.

!help  [1]

I'll explain how to use the given command.

 1: The command. (Leave blank for general help)

!interval  [1]  [2]

I'll parse and execute a message on an interval.

 1: The delay in seconds.

 2: The message to parse and execute.

!later  [1]  [2]

I'll parse and execute a message later.

 1: The delay in seconds.

 2: The message to parse and execute.

!latest-post  [1]

I'll get the latest post from Dwayne.xyz.

 1: The tag to filter by.

!latest-posts  [1]  [2]

I'll get the latest posts from Dwayne.xyz.

 1: How many posts to get.

 2: The tag to filter by.

!latest-thought

I'll share Dwayne's latest Thought.

!link-preview  [1]

I'll get the title of the given web page.

 1: The web page URL.

!lookup  [1]

I'll look up the answer to the given query.

 1: The search/query.

!mastodon  [1]

I'll search Mastodon for something.

 1: The search term.

!music

I'll tell you what song Dwayne's currently listening to.

!post  [1]

I'll get the latest post from Dwayne.xyz.

 1: The tag to filter by.

!posts  [1]  [2]

I'll get the latest posts from Dwayne.xyz.

 1: How many posts to get.

 2: The tag to filter by.

!preview  [1]

I'll get the title of the given web page.

 1: The web page URL.

!random  [1]  [2]

I'll pick a random number between the two given numbers.

 1: The minimum.

 2: The maximum.

!random-bookmark

I'll get a random bookmark from Dwayne.

!random-bookmarks  [1]

I'll get random bookmarks from Dwayne.

 1: How many to get.

!random-number  [1]  [2]

I'll pick a random number between the two given numbers.

 1: The minimum.

 2: The maximum.

!rig

I'll tell you about Dwayne's computers.

!rss  [1]

I'll get the latest RSS articles from Dwayne's reading list.

 1: How many articles to get.

!rss-article

I'll get the latest RSS article from Dwayne's reading list.

!schedule  [1]  [2]

I'll parse and execute a message later.

 1: The delay in seconds.

 2: The message to parse and execute.

!search-mastodon  [1]

I'll search Mastodon for something.

 1: The search term.

!search-twitter  [1]

I'll search Twitter for something.

 1: The search term.

!send-message  [1]

I'll send a message directly to Dwayne.

 1: The message to send.

!set-interval  [1]  [2]

I'll parse and execute a message on an interval.

 1: The delay in seconds.

 2: The message to parse and execute.

!social  [1]

I'll get a social account link.

 1: The account. (Leave blank for all of them)

!song

I'll tell you what song Dwayne's currently listening to.

!specs

I'll tell you about Dwayne's computers.

!sponsor

I'll tell you about this week's Sponsorship.

!sponsorship

I'll tell you about this week's Sponsorship.

!temp  [1]

I'll get the temperature for the given city.

 1: The city. (Leave blank for New York)

!temperature  [1]

I'll get the temperature for the given city.

 1: The city. (Leave blank for New York)

!thought

I'll share Dwayne's latest Thought.

!time

I'll tell you the time in New York City.

!track

I'll tell you what song Dwayne's currently listening to.

!twitter  [1]

I'll search Twitter for something.

 1: The search term.

!upcoming

I'll list the upcoming scheduled actions.

!uptime

I'll tell you how long the server has (I have) been running.

!wa

I'll look up the Wolfram Alpha definition for the given query.

!weather  [1]

I'll get the weather for the given city.

 1: The city. (Leave blank for New York)

!website-stats

I'll tell you some stats about Dwayne.xyz.

!wiki

I'll look up the Wikipedia definition for the given query.

!wikipedia

I'll look up the Wikipedia definition for the given query.

!wolfram

I'll look up the Wolfram Alpha definition for the given query.

!wolfram-alpha

I'll look up the Wolfram Alpha definition for the given query.