Miscellaneous

Some commands are difficult to classify in the categories of the site. They are not used for moderation, nor to get information, they can be fun but they are not listed in this category, they don’t have much to do with configuration or rss…

Here is the list of these particular commands.

Bitly urls

Syntax: bitly [create|find] <url>

Bitly is a famous website for shortening web addresses (aka url). With this command you can create a shortcut yourself instantly using their services, and see to which address a bit.ly link refers without having to click on it. Practical, isn’t it?

Book

This command allows you to manage your own library, saving your books easily. You can also only use the search function, for example to share a specific book with your Discord friends. Anything is possible!

Warning

This command is under construction, and is therefore only in its early stages. Feel free to give your ideas on the official bot server!

Search by ISBN

Syntax: book search <ISBN>

Used to search for a book from its ISBN, and displays its main information. ISBNs of length 10 and 13 are accepted.

Changelogs

Syntax: changelogs [version] or changelogs list

If you want to know the bot modification log, what has been changed in the last version or an older one, you can use this command. Introduced in version 3.5.5, it allows access to all bot changelogs from this version. For older versions, you will have to go directly to the channels of the official server!

Note

Giving the “Embed Links” permission to the bot can be useful if you want to get a better rendering. But it’s not mandatory!

Embed

Syntax: embed <args>

This command is particularly useful if the ‘say’ command is no longer enough for you, if you want something even bigger, with colors, images and everything that goes with it. You can send embeds (these pretty rectangles with colored bars), by customizing the title, content, image, title url, color and footer text!

Each argument is presented in the form name="value". If you want a line break, you can use the character \n, and if you want to use quotation marks without closing the argument, you will have to escape them (with a in front). To better understand how it works, here is an example of how to use it: embed title="Here is my title!" content="Blah blah \nBlah ?" footer="Do you mean \"Text\"? "

Warning

Hey, this may sound weird, but Zbot needs “Embed Links” permission to send embeds…

Hour & Weather

Syntax: hour <city>

Syntax: weather <city>

With these two commands, you can get the time (and timezone) or weather for any city in the world! All you have to do is enter the name of the city, preferably in English format (London instead of Londres for example), and the magic does the rest!

Note

For the weather command, it is better to give the “Embed Links” permission to the bot, to get a better rendering. But it’s not mandatory!

Markdown

Syntax: markdown

The markdown is a set of formatting rules used everywhere, such as on GitHub or Discord. This command gives you these formatting rules, which will allow you to display spoilers, code blocks, or just simple strikethrough or italicized text.

Warning

Warning, this command contains an invitation link to the information server on the code blocks.

Say

Syntax: say [channel] <text>

If you want to talk through the bot, as if it were sending your messages, this command will be a great help. Just indicate the text to send, and voilà, it’s over. If a channel is specified, the message will be sent there. Otherwise, it will be sent in the current channel.

Note

Note that this command is reserved for certain roles, which you can define in the configuration section.

Warning

In addition, “Manage Messages” permission is required if you want the bot to delete your message as soon as it has posted its copy.

Tic-tac-toe

Syntax: tic-tac-toe (alias morpion) or tic-tac-toe leave

Yes, we did it! A first mini-game for our bot, the crab! You can play against the bot in this fast and simplistic game, just by entering the command and following the instructions (enter a number between 1 and 9 corresponding to the chosen cell). And the best part is that the only special permission required is to use the external emojis!

By using the leave argument you can instantly stop a game. This can be useful if you are stuck by a bug and can’t join a game for example.

Vote

Syntax: vote [number] <text>

This command will add a little interactivity in your server by allowing the creation of votes or polls. Zbot will send a message containing your text and then add reactions to it, before deleting your original message.

If no number of choices is given, or if this number is 0, the vote will be a yes/no type. Otherwise, it will be a question of choosing between the choices using numbers. Note that it is not possible at this time to put more than 10 choices.

For this command the bot needs “Add Reactions” (add reactions to its message), “Read message history” (find its message in the chat room) and “Manage Messages” (delete your message) permissions.

Note

A big thank to the member Adri526, for his emojis specially designed for ZBot!