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.
Admins¶
Syntax: admins
If you want to quickly know who are the Zbot administrators. Easy to use, quick to read, always up-to-date.
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.
Reminders¶
If you have some issues with your memory like me, I think you should start using this command. With it, you can ask Zbot to remind you things to do later, between a minute and a few years. Like a !d bump, or anything else, up to you. And it also works in DM.
Create a new reminder¶
Syntax: remindme <duration> <message>
or reminder create <duration> <message>
The duration argument is exactly the same as for tempmute/tempban: use XXw
for weeks, XXd
for days, XXh
for hours and XXm
for minutes (replacing XX by the corresponding number, of course!)
Warning
Zbot needs “Embed Links” permission to send the reminder.
List your reminders¶
Syntax: reminder list
Here you will get the full list of pending reminders, waiting for the end of their timers. Nothing but a list, really.
Note
Giving the “Embed Links” permission to the bot can be useful if you want to get a better rendering.
Delete a reminder¶
Syntax: reminder delete <ID>
Used when you want to stop a reminder, so Zbot will completely forget it. The reminder ID can be found with the reminder list command (see above).
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 Adri, for his emojis specially designed for ZBot!