All Projects → y21 → discordcaptcha

y21 / discordcaptcha

Licence: other
Verification bot for Discord

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to discordcaptcha

Basicbot
A basic example of a Discord Bot written in Python. (discord.py)
Stars: ✭ 73 (-48.59%)
Mutual labels:  discord-bot, discord-api
Discord.js Menu
💬 Easily create Discord.js v12 embed menus with reactions and unlimited customizable pages.
Stars: ✭ 89 (-37.32%)
Mutual labels:  discord-bot, discord-api
Bot
A Discord bot for all your needs. With memes, utilities, moderation & more, Fire is the only bot you'll need.
Stars: ✭ 79 (-44.37%)
Mutual labels:  discord-bot, discord-api
Discord4j
Discord4J is a fast, powerful, unopinionated, reactive library to enable quick and easy development of Discord bots for Java, Kotlin, and other JVM languages using the official Discord Bot API.
Stars: ✭ 973 (+585.21%)
Mutual labels:  discord-bot, discord-api
Discord.js
discord.js is a powerful Node.js module that allows you to easily interact with the Discord API.
Stars: ✭ 16,432 (+11471.83%)
Mutual labels:  discord-bot, discord-api
Smorebot
SmoreBot is a fun, lightweight, multipurpose bot packed with features.
Stars: ✭ 51 (-64.08%)
Mutual labels:  discord-bot, discord-api
Swag Bot
My first ever discord bot using discord.js. The bot has a total of 77 commands, and it is capable of manipulating texts and images, analyzing data, searching information, and playing music. It has high level features like xp system, coins database, and spam detector.
Stars: ✭ 86 (-39.44%)
Mutual labels:  discord-bot, discord-api
Discord Bot Client
A patched version of discord, with bot login support
Stars: ✭ 441 (+210.56%)
Mutual labels:  discord-bot, discord-api
Discord Panel
📊 User friendly dashboard/tool for discord bot developpers to manage servers
Stars: ✭ 116 (-18.31%)
Mutual labels:  discord-bot, discord-api
Discljord
A Clojure wrapper library for the Discord API, with full API coverage (except voice, for now), and high scalability
Stars: ✭ 111 (-21.83%)
Mutual labels:  discord-bot, discord-api
Modmail
A feature rich discord Modmail bot
Stars: ✭ 957 (+573.94%)
Mutual labels:  discord-bot, discord-api
Selfbot.py
selfbot.py - A python discord selfbot thats easy to install - Written using discord.py
Stars: ✭ 191 (+34.51%)
Mutual labels:  discord-bot, discord-api
Deku
Multi-purpose discord bot built with discord.js
Stars: ✭ 13 (-90.85%)
Mutual labels:  discord-bot, discord-api
Example Bots
An example bot directory for DiscordSharpPlus library. Contains C# and VB.NET examples.
Stars: ✭ 69 (-51.41%)
Mutual labels:  discord-bot, discord-api
Dsharpplus
A .NET Standard library for making bots using the Discord API.
Stars: ✭ 635 (+347.18%)
Mutual labels:  discord-bot, discord-api
Nino
🔨 Advanced and cute moderation discord bot as an entry of Discord's Hack Week!
Stars: ✭ 78 (-45.07%)
Mutual labels:  discord-bot, discord-api
Javacord
An easy to use multithreaded library for creating Discord bots in Java.
Stars: ✭ 368 (+159.15%)
Mutual labels:  discord-bot, discord-api
Commando
Official command framework for discord.js
Stars: ✭ 434 (+205.63%)
Mutual labels:  discord-bot, discord-api
Music Bot
Simple music bot with a full-blown queue system that is easy to understand
Stars: ✭ 102 (-28.17%)
Mutual labels:  discord-bot, discord-api
Lenoxbot
🖥️ LenoxBot is a Discord bot that offers many cool new features to your Discord server!
Stars: ✭ 163 (+14.79%)
Mutual labels:  discord-bot, discord-api

discordcaptcha

An easy-to-use verification bot for Discord

Requirements

  • Node.js v12+
  • TypeScript 3.8

Verification procedure

When joining, the user is supposed (if everything was set up correctly) to only be able to send messages in a verification channel. It is recommended to add a short message to the channel (topic, ...) so that new users know what to do next. After typing !verify (! represents the prefix, can be changed in the config file), the bot will send an image containing a short verification code. The user is then supposed to send !verify in the verification channel and will be assigned a role. That role should have send and view messages permissions in all other channels.

Note (context)

The package that's used to generate captcha images is known to be quite slow. If you want faster captcha generation, use the canvas branch. It uses canvas, which is much faster than Jimp.
Most of the time, you won't see a big difference between those two since the difference on average is about 40ms. Network time will probably at least be 3x the time it takes to generate these captchas using Jimp.

Setup

  • Make sure you're running the requirements mentioned above
$ node -v && tsc -v
# Example output:
# v13.12.0
# Version 3.8.3
  • Clone the repository
$ git clone https://github.com/y21/discordcaptcha
  • Install all required dependencies and TypeScript

If you don't have superuser permissions, run npm i typescript (without the -g flag) and specify the path to the binary when transpiling (./node_modules/typescript/bin/tsc)

$ npm i && npm i typescript -g
  • Transpile the source code
$ tsc
  • Edit the configs/config.json file
$ vim configs/config.json
  • Run the bot
$ node .
Initialised 3 commands
# [warn] Local version does not match origin version.
# [info] Option `noEOI` is enabled, which blocks certain text recognition services. If you're seeing broken images, try disabling this option.
# Validation completed! 1 potential warnings, 1 warnings, 0 errors

# Bot started!

FAQ

  • Q: What does noEOI do?
    • A: noEOI (= No End of Image) will break the image by removing bytes from the buffer. This will break certain text recognition services such as Google's Vision API and will make it much harder for people to bypass this system. If you're experiencing problems, change this to false.
  • Q: What does boundTo mean? / The bot is not responding to the verify command!
    • A: If you only want the bot to respond to the verify command in one channel, you may bind it to a specific channel by specifying the channel name. If you want it to function in any channel, use null. That being said, if you don't change this property, the bot will only respond to verification attempts in a channel named verification.
  • Q: Why does the role name have to be in lowercase letters?
    • A: This warning can be ignored, as the validator will internally lowercase it for you. However, for consistency, I decided to warn users if they try to use uppercase letters in the role name.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].