Forge

Discord bot

The Sirius bot gives out and manages your hub's keys in your Discord server. Players get their key, the script and device resets from a panel, and you whitelist members with commands.

Setting up

  1. In Hub settings, open the Discord tab and press Add to server.
  2. Press Get link code, then run /forge link in your server with the code. It works for 10 minutes.
  3. Run /forge panel in the channel where players should get their key.

Author commands work for members with Manage Server. /forge manager-role gives another role the same access.

The player panel

The panel shows your Discord panel text, or the note for players, and these buttons:

  • Get key opens your hub's page on forgekey.net.
  • Redeem key links a key to the player's Discord account.
  • Get script sends the loadstring.
  • Reset devices clears the devices on the player's key, within your reset cooldown.
  • View key shows the key, its tier and when it ends.

Commands

  • /forge key makes a key for a member, with a tier and a length, and links it to them.
  • /forge revoke revokes a member's key or a key you paste, and can stop copies running now.
  • /forge resetdevices clears a key's devices, with no cooldown.
  • /forge time adds time to one key. /forge compensate adds time to every key in the hub that has an end.
  • /forge status shows executions today and players now.

Roles for tiers

In Hub settings, the Discord tab can give each tier a role. A member gets the role when a key of that tier is linked to them, and loses it when the key ends or is revoked. The bot needs Manage Roles, and its own role must sit above the roles it gives.