From 20198c3ebe2731c253101ddc6ecb86bb19c12ae8 Mon Sep 17 00:00:00 2001 From: Sayrix <43046854+Sayrix@users.noreply.github.com> Date: Wed, 8 Jul 2026 18:57:54 +0200 Subject: [PATCH] fix(docs): render server role mentions inline --- content/docs/server-guide.mdx | 188 +++++++++++++++--------------- src/components/DocsComponents.tsx | 4 +- 2 files changed, 97 insertions(+), 95 deletions(-) diff --git a/content/docs/server-guide.mdx b/content/docs/server-guide.mdx index f54ae94..b2e8e51 100644 --- a/content/docs/server-guide.mdx +++ b/content/docs/server-guide.mdx @@ -52,99 +52,101 @@ Do not spam exchange role mentions. If you mention exchange roles too often, Aut Here are the roles and their meaning on the AutoPlus Discord server: -
- @Developer: This is - the role of the developer and maintainer of AutoPlus (Sayrix), he is the only - one who has access to the funds of the bot. -
- - @Head Manager • USE ESCROW - - : This role is the role for our Head Managers, they are the highest rank in - the server and they are here to help you with any questions you might have. - They also are added to your thread in case you open a dispute.{" "} - - Having that role does not mean they are trusted and you should always use - escrow. - -
- - @Managers • USE ESCROW - - : This role is the role for our Managers team, they are here to help you with - any questions you might have. They also are added to your thread in case you - open a dispute.{" "} - - Having that role does not mean they are trusted and you should always use - escrow. - -
- @Support • USE ESCROW - : This role is the role for our Support team, they are here to help you with - any questions you might have. They also are added to your thread in case you - open a dispute.{" "} - - Having that role does not mean they are trusted and you should always use - escrow. - -
- @Helper • USE ESCROW: - This role is the role for our Helper team, they are here to help you with any - questions you might have. They also are added to your thread in case you open - a dispute.{" "} - - Having that role does not mean they are trusted and you should always use - escrow. - -
- - @⚠️ Marked [ScammerAlert] ⚠️ - - : This role is assigned to people who have been marked by{" "} - ScammerAlert. This means that - you should deal with caution with all users who has this role. -
- @⚠️ Marked [KSF] ⚠️: - This role is assigned to people who have been marked by{" "} - KSF. This means that you should deal with - caution with all users who has this role. -
- - @Legendary Client • USE ESCROW - - : This role is automatically assigned to members who have sent or received - more than $50000 (check your stats with `/stats user`). -
- - @Elite Client • USE ESCROW - - : This role is automatically assigned to members who have sent or received - more than $10000 (check your stats with `/stats user`). -
- @Special • USE ESCROW - : This role is automatically assigned to members who has our Discord invite in - their custom status. To receive it, add `autoplus.gg` or `/otto` near the - start of your custom status. The role can be removed automatically if the - status is removed or changed. -
- @Booster • USE ESCROW - : This role is automatically assigned to all members who is boosting the - Discord server. -
- - @Rich Client • USE ESCROW - - : This role is automatically assigned to all members who have sent more than - $1000 (check your stats with `/stats user`). -
- @Client • USE ESCROW: - This role is automatically assigned to all members who have completed at one - trade. -
- @Member • USE ESCROW: - This role is automatically assigned to all members who passed the - verification. -
+
+

+ @Developer: This is + the role of the developer and maintainer of AutoPlus (Sayrix), he is the only + one who has access to the funds of the bot. +

+

+ @Head Manager • USE ESCROW: + This role is the role for our Head Managers, they are the highest rank in the + server and they are here to help you with any questions you might have. They + also are added to your thread in case you open a dispute.{" "} + + Having that role does not mean they are trusted and you should always use + escrow. + +

+

+ @Managers • USE ESCROW: + This role is the role for our Managers team, they are here to help you with + any questions you might have. They also are added to your thread in case you + open a dispute.{" "} + + Having that role does not mean they are trusted and you should always use + escrow. + +

+

+ @Support • USE ESCROW: + This role is the role for our Support team, they are here to help you with + any questions you might have. They also are added to your thread in case you + open a dispute.{" "} + + Having that role does not mean they are trusted and you should always use + escrow. + +

+

+ @Helper • USE ESCROW: + This role is the role for our Helper team, they are here to help you with any + questions you might have. They also are added to your thread in case you open + a dispute.{" "} + + Having that role does not mean they are trusted and you should always use + escrow. + +

+

+ @⚠️ Marked [ScammerAlert] ⚠️: + This role is assigned to people who have been marked by{" "} + ScammerAlert. This means that + you should deal with caution with all users who has this role. +

+

+ @⚠️ Marked [KSF] ⚠️: + This role is assigned to people who have been marked by{" "} + KSF. This means that you should deal with + caution with all users who has this role. +

+

+ @Legendary Client • USE ESCROW: + This role is automatically assigned to members who have sent or received more + than $50000 (check your stats with `/stats user`). +

+

+ @Elite Client • USE ESCROW: + This role is automatically assigned to members who have sent or received more + than $10000 (check your stats with `/stats user`). +

+

+ @Special • USE ESCROW: + This role is automatically assigned to members who has our Discord invite in + their custom status. To receive it, add `autoplus.gg` or `/otto` near the + start of your custom status. The role can be removed automatically if the + status is removed or changed. +

+

+ @Booster • USE ESCROW: + This role is automatically assigned to all members who is boosting the + Discord server. +

+

+ @Rich Client • USE ESCROW: + This role is automatically assigned to all members who have sent more than + $1000 (check your stats with `/stats user`). +

+

+ @Client • USE ESCROW: + This role is automatically assigned to all members who have completed at one + trade. +

+

+ @Member • USE ESCROW: + This role is automatically assigned to all members who passed the + verification. +

## Sanctions [#sanctions] diff --git a/src/components/DocsComponents.tsx b/src/components/DocsComponents.tsx index 615e4fb..7cecadd 100644 --- a/src/components/DocsComponents.tsx +++ b/src/components/DocsComponents.tsx @@ -115,10 +115,10 @@ export function DiscordRoleMention({ children, color, textColor }: { children: s return ( - {children} + {children.trim()} ); }