📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

captcha-for-discord

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

captcha-for-discord

This package can be used for creating captcha straight from your discord bot

1.0.0
latest
npm
Version published
Maintainers
1
Created
Source

About Discord-captcha

This package can be used for creating captcha straight from your discord bot

Installation

npm i discord-captcha

Methods

gen

Use this in the guildMemberAdd event aswell as a command(in case a user fails)

const captcha = require('discord-captcha')
<client>.on('guildMemberAdd', member => {
await captcha.gen(member, "role to be assigned id")
})

Command

const captcha = require('discord-captcha')
module.exports = {
name: "verify",
description: "Make an captcha",
callback async(client, message, args) {
await captcha.gen(member, "role to be assigned id")
}
}

Support Server

Keywords

captcha

FAQs

Package last updated on 04 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts