> ## Documentation Index
> Fetch the complete documentation index at: https://wiki.petto.sbs/llms.txt
> Use this file to discover all available pages before exploring further.

# Your own prefix

> A prefix only for you that works in every server with Petto, next to the server's own, for boosters of the support server, Premium users, partners and the team.

## Overview

Besides the prefix of each server, some people can choose a prefix of their own. It works in **every** server where Petto is, next to the prefixes of the server (a server can have several, and they keep working for everybody). It follows the same rules as the prefixes of a server: a symbol is typed attached (`p!help`), and when the word after it is not a command Petto stays silent.

## Commands

```javascript Syntax theme={null}
!myprefix show
!myprefix set <prefix>
!myprefix reset
```

```javascript Example theme={null}
!myprefix set p!
p!help
!myprefix reset
```

`!myprefix` alone is the same as `show`: it says your prefix and whether you can have one. The aliases are `!userprefix`, `!selfprefix` and `!upfx`.

![shi, who boosts the support server, sees they can have a prefix and sets p!](https://mintcdn.com/wikipetto/4ijFW041sxK9Gi0r/images/discord/setup/user-prefix.webp?fit=max\&auto=format\&n=4ijFW041sxK9Gi0r\&q=85\&s=c239893cc596231ab60cc27604306156)

In Discord: !myprefix says whether you can have one, and !myprefix set chooses it.

![shi types p!help myprefix set and Petto answers with the help card of myprefix set](https://mintcdn.com/wikipetto/TvSVTyhvEkvwD6wa/images/discord/setup/user-prefix-use.webp?fit=max\&auto=format\&n=TvSVTyhvEkvwD6wa\&q=85\&s=44c0d925e31ef3906e12fb31caf648fe)

In Discord: the new prefix works in any server, next to the server's own.

![shi resets the prefix and Petto confirms that the prefix of each server still works, then says there was none the second time](https://mintcdn.com/wikipetto/TvSVTyhvEkvwD6wa/images/discord/setup/user-prefix-reset.webp?fit=max\&auto=format\&n=TvSVTyhvEkvwD6wa\&q=85\&s=c20e01530a33bd3c2bcaa17d97d3cb7c)

In Discord: !myprefix reset removes it; with none, Petto says so.

## Who can have one

You need to be at least one of these:

* Boost the Petto support server.
* Have Petto Premium (or a Premium role in the support server).
* Be a Petto partner (the partner role of the support server).
* Be on the Petto team: owner, developers and the site team (staff, testers).
* Have one of the special roles that the team gave the support server.

If you stop meeting a requirement your prefix stops working, and it comes back when you meet one again. Petto checks it again every few minutes.

![nova tries !myprefix set ? and Petto lists the five ways to have a prefix of your own](https://mintcdn.com/wikipetto/TvSVTyhvEkvwD6wa/images/discord/setup/user-prefix-requirements.webp?fit=max\&auto=format\&n=TvSVTyhvEkvwD6wa\&q=85\&s=1e92c7cf6f43375aab8b32bacb0e1567)

In Discord: someone who meets none of the requirements gets the list.

## What a prefix can be

Up to 5 characters, no spaces, with at least one symbol (`.`, `?`, `p!`, `,`): a prefix of only letters or numbers would set Petto off in normal chat. It cannot start with `/` or be a mention.

![shi tries petto and /p as prefixes and Petto explains why each one cannot be used](https://mintcdn.com/wikipetto/TvSVTyhvEkvwD6wa/images/discord/setup/user-prefix-invalid.webp?fit=max\&auto=format\&n=TvSVTyhvEkvwD6wa\&q=85\&s=605513b9b3da6b97de8a0f1e2c40f398)

In Discord: a prefix of only letters, or one that starts with /, is refused.

## For the team

The roles are set with two variables of the bot: `PETTO_PARTNER_ROLE_IDS` (the partner roles) and `PETTO_USER_PREFIX_ROLE_IDS` (other roles that give access), both lists of role IDs separated by commas. The support server is the one in `PETTO_SUPPORT_GUILD_ID`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.