Debug Module

Contains various debugging commands and checks for updates. Some of these commands can only be run by the bot owner.

Echo

!echo [#channel] <arbitrary string>

Makes Sweetie Bot say the given sentence in #channel. If #channel is omitted, returns the string in the current channel.

#channel

(optional) The channel to echo the message in. Must have the # prefix, but doesn't have to be a channel ping.

arbitrary string

An arbitrary string for Sweetie Bot to say.

EchoEmbed

!echoembed [#channel] <URL> [0xC0L0R] [key:value]...

Makes Sweetie Bot assemble a rich text embed and echo it in the given channel

#channel

(optional) The channel to echo the message in. If omitted, message is sent to this channel.

URL

URL for the author to link to.

0xC0L0R

(optional) Color of the embed box.

key:value

(optional) A key:value pair of fields to display in the embed. Remember to use quotes around the *entire* key:value pair if either the key or the value have spaces.

Disable

!disable <module|command>

Disables the given module or command, if possible. If the module/command is already disabled, does nothing.

module|command

The module or command to disable. You do not need to specify the parent module of a command, only the command name itself.

Enable

!enable <module|command>

Enables the given module or command, if possible. If the module/command is already enabled, does nothing.

module|command

The module or command to enable. You do not need to specify the parent module of a command, only the command name itself.

Update

!update

Shuts down, calls an update script, rebuilds the code, and then restarts.

DumpTables

!dumptables

Dumps table row counts.

ListGuilds

!listguilds

Lists the servers the bot is on.

Announce

!announce <arbitrary string>

Restricted command that announces a message to all the log channels of all servers.

arbitrary string

An arbitrary string for Sweetie Bot to say.

RemoveAlias

!removealias <user> <alias>

Restricted command that removes the alias for a given user. The user must be pinged, and the alias must match precisely.

user

A ping to a specific user in the format @User.

alias

The *exact* name of the alias to remove.

GetAudit

!getaudit [range] [user] [arbitrary string]

Allows admins to inspect the audit log.

range

(optional) If this is a single number, the number of results to return. If it's a range in the form 999-9999, returns the given range of audit log entries, up to a maximum of 50 in one call. Defaults to displaying 1-10.

user

(optional) Must be in the form of @user, either as an actual ping or just part of the users name. If included, filters results to just that user. If there are spaces in the username, you must use quotes.

arbitrary string

(optional) An arbitrary string starting with either ! or $. ! will search for an exact command (regardless of what your command prefix has been set to), whereas $ will simply search for the string anywhere in the audit log. This will eat up all remaining arguments, so put the user and the range BEFORE specifying the search string, and don't use quotes!

SetProfile

!setprofile <username> [avatar]

Restricted command that changes the bot name and/or avatar.

username

What the bot's username should be. If the name has spaces, you must put this argument in quotes!

avatar

(optional) A PNG, JPG or GIF file relative to the bot's executable that contains the avatar. If this parameter is omitted, the avatar is not changed. Quotes are optional.