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
- In Hub settings, open the Discord tab and press Add to server.
- Press Get link code, then run
/forge linkin your server with the code. It works for 10 minutes. - Run
/forge panelin 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 keymakes a key for a member, with a tier and a length, and links it to them./forge revokerevokes a member's key or a key you paste, and can stop copies running now./forge resetdevicesclears a key's devices, with no cooldown./forge timeadds time to one key./forge compensateadds time to every key in the hub that has an end./forge statusshows 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.