Jump to content

Discord: Difference between revisions

From CIT Wiki
No edit summary
No edit summary
Line 3: Line 3:


* '''CIT [[Discord]]''': https://discord.com/invite/taHetr3bXA
* '''CIT [[Discord]]''': https://discord.com/invite/taHetr3bXA
----


----
== Discord Commands (Type ingame) ==
{| class="wikitable"
{| class="wikitable"
!Command
!'''Command'''
!Description
!'''Function'''
|-
|-
|<code>/gdiscordcode</code>
|<code>/gdiscordcode</code>
|Get group Discord linking code
|Get instructions to link your '''group''' chat to Discord.
|-
|-
|<code>/sdiscordcode</code>
|<code>/sdiscordcode</code>
|Get squad Discord linking code
|Get instructions to link your '''squad''' chat to Discord.
|-
|<code>/gdiscordcode gsc</code>
|Get instructions to link your '''group staff chat''' to Discord.
|-
|-
|<code>.link <nowiki><code></nowiki></code>
|<code>/sdiscordcode ssc</code>
|Link a chat (run in Discord channel)
|Get instructions to link your '''squad staff chat''' to Discord.
|-
|-
|<code>/gforceunlink</code>
|<code>/gforceunlink</code>
|Unlink group from Discord
|Unlink group chat from Discord. Requires delete group permission.
|-
|-
|<code>/sforceunlink</code>
|<code>/sforceunlink</code>
|Unlink squad from Discord
|Unlink squad chat from Discord. Requires delete squad permission.
|-
|<code>.unlink</code>
|Discord command to unlink
|-
|-
|<code>/grefresh</code>
|<code>/grefresh</code>
|Refresh group sync
|Refresh sync for group chat if link fails.
|-
|-
|<code>/srefresh</code>
|<code>/srefresh</code>
|Refresh squad sync
|Refresh sync for squad chat if link fails.
|-
|-
|<code>/gsetdeltime <nowiki><time></nowiki></code>
|<code>/gsetdeltime <nowiki><time></nowiki></code>
|Set message deletion timer for group chat
|Set auto-delete timer (e.g., 24h) for Discord group messages.
|-
|<code>/gsyncinfo</code>
|Shows group Discord sync and delete time status.
|-
|<code>/sdiscordcode ssc</code>
|Get code to link squad staff chat.
|-
|<code>/dunverify</code>
|Unlink your own Discord account from your CIT account.
|-
|-
|<code>.deltime</code>
|<code>/mad</code>
|Check deletion time setting on Discord
|Set [[alliance]] destination marker on the map.
|-
|-
|<code>/gsyncinfo</code>
|<code>/mad remove</code>
|Check group sync status
|Remove the alliance destination marker.
|}
 
== Discord Bot Commands (Type in Discord channel) ==
{| class="wikitable"
!'''Command'''
!'''Function'''
|-
|-
|<code>/gdiscordcode gsc</code>
|<code>.link <nowiki><code></nowiki></code>
|Get linking code for group staff chat
|Link the current Discord channel to a group or squad.
|-
|-
|<code>/sdiscordcode ssc</code>
|<code>.unlink</code>
|Get linking code for squad staff chat
|Unlink the current channel from the group/squad.
|-
|-
|<code>.linkgsc</code>
|<code>.linkgsc</code>
|Link group staff chat
|Link the '''group staff chat''' in the current Discord channel.
|-
|-
|<code>/dunverify</code>
|<code>.deltime</code>
|Unlink your Discord account from CIT
|Shows the current auto-delete message timer for that channel.
|-
|-
|<code>.online</code>
|<code>.online</code>
|Show online members (in Discord)
|Shows the current online members of your group/squad.
|}
|}
* slash "/" are commands you use ingame
* slash "/" are commands you use ingame
* Dot "." are commands you use on discord
* Dot "." are commands you use on discord

Revision as of 22:24, 19 April 2025

CIT Discord BOT

This guide will help you understand how to link your group, squad, and staff chats with Discord, manage permissions, and use Discord-related features.


Discord Commands (Type ingame)

Command Function
/gdiscordcode Get instructions to link your group chat to Discord.
/sdiscordcode Get instructions to link your squad chat to Discord.
/gdiscordcode gsc Get instructions to link your group staff chat to Discord.
/sdiscordcode ssc Get instructions to link your squad staff chat to Discord.
/gforceunlink Unlink group chat from Discord. Requires delete group permission.
/sforceunlink Unlink squad chat from Discord. Requires delete squad permission.
/grefresh Refresh sync for group chat if link fails.
/srefresh Refresh sync for squad chat if link fails.
/gsetdeltime <time> Set auto-delete timer (e.g., 24h) for Discord group messages.
/gsyncinfo Shows group Discord sync and delete time status.
/sdiscordcode ssc Get code to link squad staff chat.
/dunverify Unlink your own Discord account from your CIT account.
/mad Set alliance destination marker on the map.
/mad remove Remove the alliance destination marker.

Discord Bot Commands (Type in Discord channel)

Command Function
.link <code> Link the current Discord channel to a group or squad.
.unlink Unlink the current channel from the group/squad.
.linkgsc Link the group staff chat in the current Discord channel.
.deltime Shows the current auto-delete message timer for that channel.
.online Shows the current online members of your group/squad.
  • slash "/" are commands you use ingame
  • Dot "." are commands you use on discord

How to Link Group and Squad Chats to Discord

To enhance communication, you can link your CIT group and squad chats to Discord, allowing messages to sync between in-game and Discord. Follow the steps below:

Linking Your Group Chat to Discord

  1. Get the Discord Code:
    • Use the /gdiscordcode command to get instructions on how to invite the bot and link your group chat to Discord.
  2. Invite the Bot:
    • Follow the provided instructions to invite the CIT Bot to your Discord server.
  3. Link the Group:
    • Ensure you're in the correct channel in Discord and type the command provided by the bot (e.g., .link <code>). This links your group chat to Discord.
  4. Unlinking the Group Chat:
    • To unlink, use /gforceunlink in-game or .unlink on Discord. You must have the permission to delete the group to perform these actions.
    • If the link doesn't work, use /grefresh to refresh the sync.
  5. Sync Group Chat Commands:
    • After linking, you can use .online to check the online status of players.
    • Use /gsetdeltime <time> to set a time for automatically deleting messages from Discord after a certain period (e.g., 24 hours).
    • Use /gsyncinfo to check the sync status in-game.

Linking Your Squad Chat to Discord

  1. Get the Squad Discord Code:
    • Use /sdiscordcode to get instructions on how to invite the bot and link your squad chat to Discord.
  2. Invite the Bot and Link the Squad:
    • Similar to group chat, ensure you're in the correct Discord channel and type .link <code> to link the squad chat.
  3. Unlinking the Squad Chat:
    • Use /sforceunlink in-game or .unlink on Discord to unlink the squad chat.
    • Use /srefresh to refresh the sync if unlinking doesn’t work.
  4. Sync Squad Chat Commands:
    • You can also use /sdiscordcode ssc to link the Squad Staff Chat to Discord.

Managing Discord Permissions and Commands

Once you've linked your group and squad chats to Discord, you can configure several settings to ensure smooth operation:

Deleting Messages Automatically

  • Automatic Message Deletion:
    • You can set a time for messages to be automatically deleted after a certain period using the /gsetdeltime <time> command.
    • For example, setting the time to "24 hours" will delete messages 24 hours after being sent.
  • Checking Deletion Settings:
    • Use .deltime on Discord or /gsyncinfo in-game to see the current message deletion settings.

Linking to Group and Squad Staff Chat

  • Link Group Staff Chat:
    • To link your group staff chat, use /gdiscordcode gsc to get the instructions, and then use .linkgsc on Discord to complete the process.
  • Link Squad Staff Chat:
    • To link the squad staff chat, use /sdiscordcode ssc to get instructions and follow the same process as group staff chat.

Unlinking Your Discord Account

If you wish to unlink your Discord account from your CIT account, use the following command:

  • Unlink Command:
    • Use /dunverify to disconnect your Discord account from your CIT profile.

Important Notes

  • Permissions: To perform certain actions (like linking or unlinking), you need the necessary permissions in the group or squad. This typically includes having permission to delete the group or squad.
  • Avoiding Glitches: If syncing or unlinking doesn’t work as expected, ensure the bot has appropriate permissions on Discord. Contact Relerx if the issue persists.
  • Restrictions: Only L5+ members can link or unlink group and squad chats.