1.0.2 • Published 4 years ago
captchacord v1.0.2
CaptchaCord
//Defining Client With Our Package const { Captcha } = require("captchacord");
//Getting Configurations const captcha = new Captcha(client, { guildID: "Guild ID Here", roleID: "Role ID Here", channelID: "Text Channel ID Here", //optional sendToTextChannel: Boolean, //optional });
//Sending Captcha To New Members //Turn On Guild Members Intent For This To Function
client.on("guildMemberAdd", async member => { captcha.present(member); });
client.login("YOUR_BOT_TOKEN")
# Support
- If You Still Need Support With This Package Directly Message Me on Discord - `Shinchan#2196` [We Do Not Have Any Docs Right Now Sorry For This]