# captcha-for-discord

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

Latest version **1.0.0** (published 2020-12-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install captcha-for-discord
pnpm add captcha-for-discord
yarn add captcha-for-discord
bun add captcha-for-discord
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-12-04 |
| First published | 2020-12-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 9.2 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | arnav-mishra |
| Keywords | captcha, discord.js, discord-captcha, verification |

## Links

- npm: https://www.npmjs.com/package/captcha-for-discord
- npm.io page: https://npm.io/package/captcha-for-discord

## Dependencies (3)

- [axios](https://npm.io/package/axios.md) ^0.21.0
- [discord.js](https://npm.io/package/discord.js.md) ^12.5.1
- [@types/node](https://npm.io/package/@types/node.md) ^14.14.10

## Recent versions

- 1.0.0 (latest) — 2020-12-04

## README

# 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)

```js
const captcha = require('discord-captcha')
<client>.on('guildMemberAdd', member => {
await captcha.gen(member, "role to be assigned id")
})
```

Command

```js
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**]('https://discord.gg/djrjWh2YsM')

---
_Source: https://npm.io/package/captcha-for-discord · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
