Skip to main content

Overview

Info commands are public lookups that anyone can run, and most of them default to yourself or to this server. Three exceptions need staff: /setup needs Manage Server, !snipe needs Manage Messages and !steal needs Manage Expressions (Petto too). /setup is a slash command only.

/server and /user

Two commands gather the lookups below, so you can find them by typing /server or /user in Discord. Each subcommand runs the same code as the command it names, with the same options, answers and checks, and the old commands keep working. With the prefix, !server info and !user avatar @Someone work the same way, and !server or !user alone is its info, so !server, !user and !user @Someone do what they always did.
/server icon, /server banner and /server splash (the picture on the invite page) show the picture of the server big, in the same card as !avatar, with links in every size Discord serves (128 to 4096) and buttons for the original, PNG, JPG and WEBP (a GIF is the original when the picture moves). If the server has none set, Petto says so. They are also !servericon, !serverbanner and !serversplash. The rules of a server reach the subcommands. A rule from !disablecommand or !restrictcommand on the old command (serverinfo, avatar…) also stops its subcommand, server or user turns off the whole command, and servericon, serverbanner and serversplash turn off one of the new ones. Every subcommand has a short alias too, see Short aliases.

Member & account

Everything defaults to yourself if user is omitted.
shi runs !avatar @kira and Petto shows kira's avatar with the button Open original

In Discord: a member's avatar, big, with a link to the original.

liam runs !permissions @kira #staff: 18 permissions granted, in the server, text and voice groups

In Discord: what a member can do in a channel, by group.

!userinfo shows the account and the member in one card: dates, roles, and the badges as icons only. The badges Petto can see are the public ones Discord gives to a profile: Staff, Partner, HypeSquad (Bravery, Brilliance, Balance and Events), Bug Hunter (both levels), Early Supporter, Early Verified Bot Developer, Moderator Programs Alumni, Active Developer, Supports Commands and Verified App. It adds Nitro when a person’s account has an animated avatar or a banner (only Nitro gives those, and apps are never shown with it), and the server booster badge when the member boosts. Discord does not tell bots the Nitro or boost level, so those cannot be shown. The card has no color on its side. The avatar is drawn with its decoration, as Discord shows it, and the server tag sits next to the name. A line points to !usercosmetics when the member has any of these (the nameplate picture is only there, to save room).
shi runs !userinfo on kira: the username, account type, creation date and badges, when kira joined and boosts since, and three roles

In Discord: the !userinfo card of a member.

!usercosmetics (also !uc and !cosmetics) shows only the cosmetics of a member in one picture, like the row of a profile in Discord: the nameplate behind, the avatar with its decoration (moving when the decoration moves; Discord decides how it plays an animated picture a bot sends), and the name with the server tag. Under it come the details and link buttons to each picture. A member with none of them says so.
kira runs !usercosmetics on nova: one picture with nova's avatar, name and the tag PETO, and the details under it

In Discord: !usercosmetics of a member who shows a server tag.

chu runs !usercosmetics on herself and the card says None for the decoration, the nameplate and the server tag

In Discord: a member with none of them.

!serverinfo has no color either: it is organized in two blocks, one for the people and channels and one about the server (boosts, safety, content and features), and it shows the invite splash when the server has one.
Chillet runs !serverinfo: the icon, the description, the owner, 1,840 members with 14 bots, 7 boosters, the channels, the boost level, safety, content and features

In Discord: the !serverinfo card of Petto Land.

Setup status

Opens a status panel at once: what is configured, which permissions Petto is missing, and a Quick setup form that is pre-filled with the current settings, so running it again never resets anything. Submitting the form runs its steps together and reports each one separately, so one failing step does not stop the rest.
liam runs /setup and Petto shows 4 of 6 areas configured, the two permissions it is missing, the language and the Quick setup button

In Discord: the panel of /setup, only for whoever ran it.

The Petto Setup form with the log channel, the welcome channel, the moderation mode and the other steps, already filled in

In Discord: the Quick setup form, filled with the current settings.

Server

!roles, !emojis, !channels, !boosters and !inrole (also !members) show a page at a time with buttons. A menu on top sorts or filters the list: roles by members, newest, oldest or name, only roles with a color or without members; emojis still or animated; channels by kind; members of a role people only, bots only or newest first. Only the person who ran the command can use the buttons, and they keep working after Petto restarts. !bots (also !botlist and /server bots) lists the bots of the server, for everybody and with no permission needed: the name, the ID, whether it is Verified, Petto marked, and when each one joined, the oldest first, ten to a page. It never pings anybody. In a very big server Petto only lists the bots it already knows, and the list says so.
shi runs !roles: the 16 roles of Petto Land with their members, the sort menu open and the page buttons

In Discord: the roles a page at a time, with the menu to sort them open.

chu runs !emojis and Petto lists the 14 emojis of Petto Land with their names and the menu to show still or animated ones

In Discord: the custom emojis of the server.

kira runs !channels: the first 15 of 18 channels with their category, the menu of kinds and the page buttons

In Discord: the channels by category, a page at a time.

liam runs !boosters: 7 boosters of Petto Land, level 2 with 9 boosts, the oldest first

In Discord: who boosts the server and since when.

Chillet runs !inrole @Moderators and Petto lists kira, chu and shi with the menu of filters

In Discord: the members of a role.

Chillet runs !roleinfo @Moderators: color #5865f2, position 11, 3 members, mentionable, and its key permissions

In Discord: a role: its color, position, members, settings and key permissions.

shi runs !channelinfo #general: the topic, text channel in COMMUNITY, created date, not age restricted, slowmode 5s

In Discord: a channel: its topic, kind, category and settings.

kira runs !emojiinfo on petto_approve: its name, not animated, the creation date and the button to open it

In Discord: a custom emoji, with a link to its picture.

chu runs !firstmessage #general and Petto answers with the link to the first message of #general

In Discord: a link to the first message of a channel.

Petto’s own stats

!ping answers with a card: the Guild Ping (how long Petto takes to answer in the server), the API Ping (the connection to Discord), links to the status page and the support server, and the size of Petto (shard and guilds). The card is green when it is fast, yellow when it is slow and red when it is bad. Also live and public at petto.sbs/status, reported directly by the bot.
Solo Lester runs !botinfo: servers, uptime, ping, memory, the versions of Petto, discord.js and Node.js and three link buttons

In Discord: Petto's status and versions.

Solo Lester runs !ping and Petto answers with both latencies, the links to the status page and the support server, and the shard, guilds and members

In Discord: the Guild Ping, the API Ping and the size of Petto, on a green card.

Solo Lester runs !uptime and Petto answers that it has been online for 3 days

In Discord: how long Petto has been online.

Small lookups

color (also !hex and !clr) shows a hex color with its RGB, HSL and decimal values. Without a hex code it finds the main color of a picture: an attached or replied image, a link, a member’s avatar or your own. See Main color of a picture. snowflake decodes the creation timestamp embedded in any Discord ID (user, channel, role, message).
chu runs !snowflake with an ID and Petto answers when it was created

In Discord: the date hidden in a Discord ID.

shi runs !color #8399ff and Petto shows the color with its hex, RGB, HSL and decimal values

In Discord: a hex color with its values; with a picture it finds its main color.

kira runs !inviteinfo discord.gg/pettoland: the code, the channel, who made it, it never expires, 1840 members and 412 online

In Discord: an invite and its server.

New utilities

calc accepts safe arithmetic with parentheses, powers, percentages, multiplication, division, addition, and subtraction. It never evaluates JavaScript. time also responds to the aliases !tz and !clock, accepts country names in English or Spanish, and understands exact IANA zones such as America/Bogota. For countries with several time zones, a country name uses a representative main zone, so use the IANA zone when you need a specific city or region. wiki searches the official Petto Wiki in the language of the server and answers with a card: the page that matches best, with its description and a picture of it, up to four related pages with a small picture each, and the buttons Open page and Wiki home. A command name finds its page, so !wiki ban shows Moderation first. When a page has no picture, or Discord cannot load it, the card is the same without it. With nothing after it, !wiki shows where to start, and when nothing matches it suggests the closest pages and the support server. wiki also answers questions about the terms and conditions. !wiki terms lists the sections of the Terms of Service, each one linked to its place on the page. Add a question, such as !wiki terms can my server be banned, !wiki privacy delete my data or !wiki can I get a refund, and Petto shows the best one to three points of the Terms of Service, the Privacy Policy, the Purchases and Refunds page or the Cookie Policy: the heading of the section, the exact words of the page and a link to that section. Nothing is reworded, so it is the text of the page and not an interpretation of it. The pages come in the language of the server (English, Spanish or Portuguese). If nothing in them answers the question, Petto says so and points to the support server. The card ends with the buttons Terms, Privacy, Refunds, Cookies and Support server. Petto reads the pages when they are asked for and keeps only the extracted text for 30 minutes; if a page cannot be read, it answers with the plain links. weather uses Open-Meteo to look up current conditions for a city or country and does not require a key. summary shows the activity of the server for 1 to 365 days (7 by default), with a picture: the numbers of the period (messages, active members, voice time, joins, leaves and joins through invites), the bars day by day and the hours of the day with the busiest one lit. Under it come the most active hour (GMT-5), the best day, the top channels and members, the growth in members and the top inviters. Add messages, voice, joins, leaves, invites or sanctions to look at just one thing: sanctions shows how many bans, mutes, warns, kicks and jails there were, who applied them (moderators, AutoMod, the honeypot, warn escalation, automatic expiry or anti-nuke), and the most active moderators and most sanctioned members. All times are GMT-5. The aliases !weekly and !digest use the same report. For a deeper analysis (the busiest hours of the week, growth, a period against the one before, one member) use !stats. Joins, leaves, the active members and the hours are counted from the moment the feature was added. It does not expose message content. The same numbers are on the dashboard’s Statistics page.
Chillet runs !calc (12 + 4) * 3 and Petto answers 48

In Discord: a calculation, never JavaScript.

liam asks the time in Colombia and kira the time in Japan, and Petto answers each with the date, the time and the time zone

In Discord: the time of a country, by its name in English or Spanish.

shi runs !weather Colombia and Petto answers with the sky, the temperature, how it feels and the wind

In Discord: the weather now, from Open-Meteo.

Lumi runs !wiki leveling and Petto answers with three wiki pages, Leveling first

In Discord: the pages of this wiki that match.

liam runs !summary 7: the picture with the numbers, the days and the hours, then the busiest hour, the best day, the top channels and members and the growth

In Discord: the report of the last 7 days, with its picture.

liam runs !summary messages and Petto answers with the Messages picture and its lines

In Discord: only the messages, in 30 days.

liam runs !summary voice and Petto answers with the Voice picture and its lines

In Discord: only the voice time, in 30 days.

liam runs !summary joins and Petto answers with the Joins picture and its lines

In Discord: only the joins, in 30 days.

liam runs !summary leaves and Petto answers with the Leaves picture and its lines

In Discord: only the leaves, in 30 days.

liam runs !summary invites and Petto answers with the Invites picture and its lines

In Discord: the joins through invites and the top inviters, in 30 days.

liam runs !summary sanctions and Petto answers with the Sanctions picture and its lines

In Discord: the sanctions of the week: who applied them and who got them.

Activity, Spotify and releases

  • !activity shows a card with what a member is doing right now in Discord: playing a game, watching, listening, competing or streaming (Spotify has its own command). Without a user it is you: !activity view alone shows yours. It also works as !ac.
  • !spotify shows a card with the song, the artist, the album art and the progress bar of what a member is listening to on Spotify. It also works as !sp.
  • Both read the member’s status, so they only work when the person shows their activity and is in the server. They tell you when there is nothing to show.
  • !version (also !release and !releases) opens the release center: the list of Petto releases and what changed in each, with buttons to browse them. It is a prefix command only.
shi runs !activity view @chu and Petto draws a card: chu playing Stardew Valley for 47 minutes

In Discord: the card of what a member is playing.

shi runs !activity view @kira and Petto answers that kira has no activity right now

In Discord: when the member is not doing anything, Petto says so.

kira runs !spotify view and Petto draws the song, the artist and the progress bar

In Discord: the song a member is listening to, with its progress.

for runs !version and Petto shows the latest release with what changed, the menu of releases and the buttons to browse

In Discord: the release center: the latest release and a menu with the others.

Snipe

Staff with Manage Messages can view up to the ten most recent deleted messages, edited messages or removed reactions of the current channel. Human messages are cached when they arrive, so partial Discord delete events still preserve their author and content when possible.
  • !snipe shows the last deleted message, and !snipe 3 the third from last. !snipe deleted 3 is the same.
  • !snipe edited [index] (or !editsnipe, !esnipe) shows a message before and after it was edited.
  • !snipe reactions [index] (or !reactionsnipe, !rsnipe) shows the last reactions taken off a message: the emoji, who removed it and a link to the message. Reactions that bots remove are not kept.
  • !snipe clear [all|deleted|edited|reactions] (or !clearsnipe, !csnipe) forgets what is saved for the channel. Every part of the command needs Manage Messages, and the answer pings nobody.
The cache is in memory only: nothing is saved in the database, it expires after 24 hours and it is lost when the bot restarts. It is also small on purpose: ten entries per channel and kind, the 200 channels used most recently, and only what is shown (the text is cut at 1000 characters).
kira runs !snipe in #general and Petto shows the message Toby deleted, with its time

In Discord: the last deleted message of the channel.

shi runs !snipe edited 2 and Petto shows Rex's message before and after the edit

In Discord: the second to last edited message, before and after.

Leveling

See Leveling for configuration. !rank also accepts !nivel and !lvl. !top also accepts !leaderboard, !lb, and !ranking. Both commands can read message XP or voice XP independently.

Emoji & sticker theft

Add a custom emoji from another server to this one. Write the emojis after the command, or reply to a message and use !steal on its own: Petto takes the custom emojis in that message’s text, its embeds and its reactions (up to 20 at a time), or its sticker. Emojis you type after the command come first.
liam runs !steal with two custom emojis and Petto answers that both were added

In Discord: two emojis added at once.

!jumbo (also !bigemoji and !enlarge) shows an emoji or a sticker big: one you write after it, or the one in the message you reply to. The card says its name, kind and creation date, with a link to the original picture. For a custom emoji or a sticker this server does not have yet, the Steal button adds it (it needs Manage Expressions, from you and from Petto), and the card then says Stolen.
chu runs !jumbo with a custom emoji and Petto shows it big with its name, kind and creation date, and the buttons Steal and Open original

In Discord: !jumbo shows a custom emoji big, with the Steal button.

liam presses Steal: the button says Stolen and Petto answers liam privately that the emoji was added

In Discord: Steal pressed: the card says Stolen and only the one who pressed it sees the answer.

Getting help

!help with nothing after it opens the browser of categories and menus shown below. Under the menus there are four link buttons: the dashboard, these docs, All commands (the Commands page of the website, which lists every command with how to write it) and the support server. !help <command> looks one command up directly, including a specific subcommand. /help opens the same browser, just for you.
Lumi runs !help and Petto shows how many commands it has, how many work as slash commands, the menu of categories and the link buttons

In Discord: !help: the categories and how to look a command up.

Lumi runs !help "ticket category add" and Petto shows its aliases, parameters, who can use it and how to write it

In Discord: one subcommand looked up directly.