An "advanced" Discord selfbot I made that automatically plays Guess The Number (GTN) games.
- Node.js
v14.7.0
(wasn't tested on other versions) - Your Discord user token
- This bot (I may add support for other ones in the future)
- An IQ >= 60
- Clone or download this repository to your machine.
- Copy your token in the
token
field in theconfig.json
file (use notepad to open it). - Open up a command prompt in it and type
npm ci
to install the requirements. - Start the bot by typing
node index.js
.
- Open up Discord with the same account as the one you're using as a bot.
- Go to the channel where there is a game of Guess The Number running.
- Type
.start
maxNumber
, and watch the "magic".
Those are the "global variables" that are very useful to the bot.
autoSave
> Whether to let the bot auto-save or not. (true/false)autoStart
> Whether to automatically start guessing numbers if a game starts in any channel. (true/false)botID
> The UserID of the Guess The Number bot.debugMode
> Whether to or not to log some informations (like attempts)defaultRange
> The default maximum number in the GTN game. (Will be used if no args are provided to thestart
command)guessInterval
> The time to wait between each guess attempt (in ms).guessIntMaxTimeout
> The maximum added time toguessInterval
(in ms) (can be set to 0).saveBeforeStop
> Automatically save after using the the stop command if enabled (true/false).prefix
> The key used before every command.token
> The user's token to connect to.
I did not spend plenty of time on testing this bot, so please create an issue if anything ever goes wrong on your side.
- Nothing at the moment ! :3
- Alts system
- Players count into stats
-
help
command -
quit
/exit
command (closes the bot) - Handle channel cooldown
- Good looking interface (progression slider, stats...)
Everything you can see here has been made for educational purposes and as a proof of concept.
I do not promote the usage of my tools, and do not take responsibility for any bad usage of this tool.