![steam account generator discord bot steam account generator discord bot](https://i.pinimg.com/originals/36/c0/09/36c009526c873df7ce61de35a94a48ca.png)
I thought of giving VIP members a special feature where they can get a team key every day. The bot is verified and I have asked Discord. This bot may seem like it’s against ToS, however it isn’t. Send the user the key, then remove it from the pool, catch any errors.Īwait (`Here's your key: ||$||`) įs.writeFileSync('./keys.json', JSON.stringify(keys)) The Generator The Generator is a bot on Discord that allows server admins to stock items into a database, and have users generate it. Grab the first key (no need to randomize). Return await (':x: Sorry, no keys are available to claim right now.') If (keys) return await (':x: You already claimed a key.') Ensure the user hasn't claimed a key already. Inside command: /* Async context needed for 'await' (meaning within an async function). If you want to allow only one key per user (or implement a cooldown) you can store users and their key.Ī real database is a much better option than a JSON file, but your possible choices are too much to cover in one simple example. This works because a user can receive a key from the unused stash, and once it's removed, it can't be given out again. With detailed information, it provides a sleek display of the results.
![steam account generator discord bot steam account generator discord bot](https://pbs.twimg.com/media/C0MPOgRXEAAWwP5.jpg)
It allows users to search their Steam profiles (or others) and Steam games without leaving their client. Maintain a pool of unsent keys and a table of users with the keys they got in a database. Steam is a profile and game search bot for Discord.