# FAQ

## How do I change the prefix of the bot?

You can do `!config prefix -` to change the prefix.

If you don't know your current prefix, you can do `@inviteLogger classic config prefix` to see the prefix.

## How do I set join and leave messages?

Set the channel by doing

`!config joinMessageChannel #channel`

or

`!config leaveMessageChannel #channel`.

After doing that, new joins and leaves will be posted to that channel.

## Can I customize the join and leave messages?

Absolutely! You can change the message by doing for example

`!config joinMessage {memberMention} **joined**; Invited by **{inviterName}** (**{numInvites}** invites)`

or

`!config leaveMessage {memberName} **left**; Invited by **{inviterName}**`.

There are many placeholders available. You can see the full list on the '[Custom Messages](/modules/invites/custom-messages.md#placeholders)' page.

## What are 'Ranks' and how can I use them?

Ranks are used to assign roles to people when they reach a certain amount of invites. For example. if you have a role called `@Beginner` and you want people who have 5 or more invites to be added to that role, you would have to create a rank for that like so: `!add-rank @Beginner 5 (and if you want a description here)`. As soon as someone has 5 invites, he will automatically be added to that role!

## How can I disable the bot in all but one/some channels?

Take away the read message permissions in the channels where you don't want the bot to reply.

## Limitation: No advanced tracking before the bot joins

Advanced tracking (who invited who) only works after you have invited the bot. The bot will still know everyones invite count after you invite it, don't worry. Just the additional information is missing and can only be collected for members who join after you invited the bot.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://classic.invitelogger.me/getting-started/faq.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
