Rank linking
Users can request to “link” (only applicable in the PUBG Discord server) their Discord account, which will give them the current season’s rank in PUBG as a Discord role.
This feature currently only has the initial implementation in place. It might have some bugs, please report to Decicus if you find anything that doesn’t work as expected. <3
Missing features
Features that are currently planned, but haven’t been implemented fully just yet.
- Moderators can manually link a PUBG account to a Discord user, bypassing the request system.
- Suggested workaround for now: Get the user to request a link, then just approve it.
- Ranks don’t automatically update. In the future, they will update every 24 hours.
- Suggested workaround for now: If the user complains, run
!refreshrank <RequestId>
, which will update their rank.
- Suggested workaround for now: If the user complains, run
!acceptrank
and!rejectrank
will eventually™ also be clickable reactions: ✅ and ❌ - To make it a bit easier to approve/reject requests.- For the time being you’ll have to use the commands, sorry!
- Messages posted in the log channel for requests will eventually™ be updated to reflect the current status of the request (approved/rejected).
Requesting a link
!requestrank <Platform> <PUBG Player name>
- Examples:
!requestrank steam [PUBG]Kruskay
!requestrank psn Cactus
!requestrank xbox Decicus
- ⚠ The player name is CasE-SenSiTivE.
- There are a few different checks that happen when someone requests to link a rank:
- If a player already has a pending request, or they’ve already been linked to another account, they can’t request a new link.
- It checks if the PUBG player name is valid and exists for the specified platform.
- If a PUBG player is found, it checks if it is already linked to another Discord account, if the first request was approved.
- To clarify a bit further. Two Discord users can request to link to the same PUBG account, assuming the first request is still in “pending” (or rejected) state. Once one of them is approved, others can’t request to link to that PUBG account anymore.
- There is currently a bit of a bug with this logic, because technically multiple users can link to the same PUBG account up until one of them gets approved. In the future, all other pending requests for a PUBG account will be rejected if one of them gets approved.
- Checks if the PUBG account has a rank for the current season.
- If all checks pass, the request is added to the queue for approval. A message from the bot will be posted in the request log channel, with the “request ID”, which becomes relevant for the moderator commands below.
- Examples:
Moderator commands
!acceptrank <RequestId>
- Accepts a pending rank link request.- Example:
!acceptrank 123
- Appending
--force
to the command will force a link, regardless of current request status or previous linking of either the Discord user or PUBG account. - Accepting someone’s rank will first remove all of the user’s rank roles, then add the relevant rank role for the request.
- Example:
!refreshrank <RequestId>
- Force-refreshes a user’s rank, based on their request ID.- Example:
!refreshrank 123
- This is effectively the same as running:
!acceptrank <id> --force
- Example:
!rejectrank <RequestId>
- Rejects a pending rank link request.- Example:
!rejectrank 123
- Appending
--force
to the command will force a rejection, regardless of current request status. - Rejecting someone’s rank will for the time being remove all of the user’s rank roles, even if they’re linked to another (approved) PUBG account.
- Example: