WardenCoredocs
Discord Bot

Account Linking

Link Steam and Discord accounts for economy features

Account linking connects a player's Discord account to their in-game Steam account. This is required for most bot features -- checking coin balances, buying packs from the shop, claiming daily rewards, and receiving welcome bonuses.

When a player links their Discord and Steam accounts, WardenCore can:

  • Show their coin balance in Discord (!bank, !dmbank)
  • Let them buy item packs through the Discord shop
  • Give them daily rewards (!daily)
  • Deliver welcome pack bonuses when they first link
  • Track purchases and cooldowns per player

Without linking, players can only view general bot information like !help.

Setting Up the Welcome Pack

The Welcome Pack is an embed message posted in a Discord channel that lets players link their accounts with a single button click. Configure it through the panel.

Open Welcome Pack settings

In the WardenCore panel, go to Settings > Discord > Bot-Shop > Welcome Pack.

Enable the Welcome Pack

Toggle the Welcome Pack to Enabled.

Set the channel

Select the Discord channel where the welcome embed will appear from the dropdown list.

Configure the coin reward

Set the Coins Reward amount. This is how many coins a player receives when they successfully link their account. Set to 0 to give no coins.

Select a reward pack (optional)

If you want to give players a pack of items when they link, select a pack in the Pack field. Leave it empty to only give coins. Packs are created in the panel's pack management section.

Customize the embed

You can customize the welcome embed's appearance:

  • Title -- the heading of the embed (e.g., "Welcome!")
  • Description -- the body text explaining what the player should do
  • Color -- the left border color of the embed
  • Author Name and Author Icon -- optional author line above the title
  • Thumbnail -- small image in the top-right corner
  • Image -- large image at the bottom of the embed
  • Fields -- additional name/value pairs displayed in the embed
  • Button Label -- text on the link button (e.g., "Link Account")

Save

Click Save to save the settings, then click Send Embed to publish the welcome embed to the selected Discord channel.

The player finds the welcome embed in your Discord server and clicks the Link Account button.

Receive the verification code

The bot replies with a 6-digit verification code visible only to the player who clicked the button. The code is valid for 10 minutes.

Enter the code in-game

The player opens the game, joins the server, and types the following in the in-game chat:

/link 123456

Account linked

If the code is valid and has not expired, the accounts are linked. The player receives the configured coin reward and pack (if any). A success message is sent in Discord.

In-game command

The /link command is typed in the game's chat window, not in Discord. Players sometimes get confused and try to type it in a Discord channel -- remind them it goes in the game.

Admin Manual Linking

Admins can manually link accounts without the verification code flow using the !link command:

!link <steamId> <discordId>

For example:

!link 76561198012345678 123456789012345678

The order of the Steam ID and Discord ID does not matter -- WardenCore will figure out which is which based on the ID format.

Unlinking Accounts

To unlink a single account:

!unlink <steamId or discordId>

This removes the link between the Steam and Discord accounts. The player can link again later.

To unlink all linked accounts at once:

!unlinkall

This is a destructive command -- the bot will ask you to type confirm within 30 seconds before executing. It removes all Steam-Discord links in the database.

Common Issues

Code expired

Verification codes are valid for 10 minutes. If a player's code expires, they can click the Link Account button again to receive a new code. The old code is automatically invalidated.

Already linked

If a player gets an "already linked" error, either their Steam or Discord account is already linked to another account. An admin needs to use !unlink to remove the existing link before they can link again.

Player can't find /link in-game

The /link command is typed directly in the game's chat, not in Discord and not through a menu. The player opens the chat window in-game (usually by pressing Enter or T) and types /link followed by their code.

No code after clicking the button?

The verification code appears as an ephemeral reply — only the player who clicked the button can see it. It won't show up in channel history for anyone else. If the player doesn't see it, they should try clicking the button again. If using the !welcomepack text command instead, the code is sent as a DM — the player needs to have DMs enabled in Discord privacy settings.

On this page