> For the complete documentation index, see [llms.txt](https://mythicalbot.gitbook.io/arklynn-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mythicalbot.gitbook.io/arklynn-docs/overview/additional.md).

# Additional

***

### **Emoji & Role Management**

| Command (Slash)                                                       | Command (Prefix)                   | Description                                                                                                        | Required Permissions |
| --------------------------------------------------------------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------ | -------------------- |
| `/addemoji channel:<channel> message:<messageId> emoji:<name> [role]` | –                                  | Adds an emoji from a message to the server. If a role is specified, only members with that role can use the emoji. | `Manage Emojis`      |
| `/autorole add <role>`                                                | `autorole add <role>`              | Adds a role that will be automatically assigned to new members.                                                    | `Manage Roles`       |
| `/autorole remove <role>`                                             | `autorole remove <role>`           | Removes a role from the auto‑assignment list.                                                                      | `Manage Roles`       |
| `/role give <user> <role>`                                            | `rolegive <user> <role>`           | Gives a role to a user.                                                                                            | `Manage Roles`       |
| `/role remove <user> <role>`                                          | `roleremove <user> <role>`         | Removes a role from a user.                                                                                        | `Manage Roles`       |
| `/role bulk <action> <users> <role>`                                  | `rolebulk <action> <users> <role>` | Gives or removes a role to/from multiple users at once. `users` can be mentions or IDs separated by spaces.        | `Manage Roles`       |

> 💡 **Examples**
>
> * `/addemoji channel:#general message:123456789012345678 emoji:cool` – adds the emoji from that message as `:cool:`.
> * `/autorole add @Member` – every new member gets the `@Member` role.
> * `/role bulk give @user1 @user2 @Admin` – gives the `@Admin` role to user1 and user2.

***

### **Moderation & Server Tools**

| Command (Slash)     | Command (Prefix)   | Description                                                                                                          | Required Permissions |
| ------------------- | ------------------ | -------------------------------------------------------------------------------------------------------------------- | -------------------- |
| `/lock [channel]`   | `lock [channel]`   | Locks a channel (prevents `@everyone` from sending messages). If no channel is given, the current channel is locked. | `Manage Channels`    |
| `/unlock [channel]` | `unlock [channel]` | Unlocks a previously locked channel.                                                                                 | `Manage Channels`    |
| `/unban <user_id>`  | `unban <user_id>`  | Unbans a user by their ID.                                                                                           | `Ban Members`        |
| `/fixroles [user]`  | `fixroles [user]`  | Re‑adds missing level roles for a user (or all users if `@everyone`). Useful if roles were manually removed.         | `Manage Roles`       |
| `/creddebug`        | –                  | (Admin only) Shows raw credibility values for debugging.                                                             | `Administrator`      |
| `/recalc`           | –                  | Recalculates all server credibility scores based on audit logs.                                                      | `Manage Server`      |
| `/refresh_stats`    | –                  | Updates statistics (Members, Bots, All Members)                                                                      | `Administrator`      |
| `/stats_preview`    | –                  | Shows a preview of server statistics (members, channels, etc.).                                                      | `Manage Server`      |

***

### **Giveaway System**

| Command (Slash)                                           | Command (Prefix) | Description                                                    | Required Permissions |
| --------------------------------------------------------- | ---------------- | -------------------------------------------------------------- | -------------------- |
| `/giveaway duration:<time> prize:<text> winners:<number>` | –                | Starts a new giveaway. Duration can be e.g. `1h`, `30m`, `2d`. | `Manage Messages`    |
| `/reroll <message_id>`                                    | –                | Picks new winners for an old giveaway using its message ID.    | `Manage Messages`    |

> 💡 **Example**\
> `/giveaway duration:2h prize:Nitro Classic winners:1` – starts a 2‑hour giveaway for one
>
> Nitro Classic.

***

### **Troubleshooting & Tips**

* **I can’t use `/addemoji` – the emoji doesn’t appear.**\
  – Make sure the message contains an image or an existing emoji.\
  – The bot needs the `Manage Emojis` permission.\
  – Emoji names must be at least 2 characters and contain only letters, numbers, and underscores.
* **Autorole not working.**\
  – Check that the bot’s highest role is above the role you’re trying to assign.\
  – The role must not be managed by an integration (like a bot).
* **Lock/unlock doesn’t work.**\
  – Verify the bot has `Manage Channels` permission.\
  – The command modifies the `@everyone` role’s `Send Messages` permission – it won’t affect members with explicit override permissions.
* **Fixroles seems to do nothing.**\
  – Run `/fixroles @user` to check if the user is missing any level roles.\
  – If you use `@everyone`, it may take a while on large servers.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://mythicalbot.gitbook.io/arklynn-docs/overview/additional.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.
