Git Product home page Git Product logo

discaptcha's People

Contributors

ahoys avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

discaptcha's Issues

Make sure commands cannot be spammed

Some commands are heavy. We don't want to allow spamming.

Each commands should have its own cool down timer. The same guild can't trigger the command again before the cool down wears off.

Big servers dont't always get humanized at once

I tried to humanize a bigger server (+200 users) and I had to use humanize twice for some reason. Maybe Discord can't hold up with the bot, or maybe the connection lagged during a big process?

Discord.js can crash the bot

If a connection issue emerges in Discord.js, it may cause the entire bot to crash.

(node:1616) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejec
tion id: 2): DiscordAPIError: Cannot send messages to this user
  root Raunhofer triggered unverified. +15h
  root Raunhofer triggered moderators. +10h
events.js:165
      throw err;
      ^

Error: Uncaught, unspecified "error" event. ([object Object])
    at Client.emit (events.js:163:17)
    at WebSocketConnection.onError (R:\DISCAPTCHA\node_modules\discord.js\src\cl
ient\websocket\WebSocketConnection.js:374:17)
    at WebSocket.onError (R:\DISCAPTCHA\node_modules\ws\lib\event-target.js:128:
16)
    at emitOne (events.js:96:13)
    at WebSocket.emit (events.js:188:7)
    at _receiver.cleanup (R:\DISCAPTCHA\node_modules\ws\lib\websocket.js:211:14)

    at Receiver.cleanup (R:\DISCAPTCHA\node_modules\ws\lib\receiver.js:557:13)
    at WebSocket.finalize (R:\DISCAPTCHA\node_modules\ws\lib\websocket.js:206:20
)
    at emitOne (events.js:96:13)
    at TLSSocket.emit (events.js:188:7)

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `node src/discaptcha.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'node src/discaptcha.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the discaptcha package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node src/discaptcha.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs discaptcha
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls discaptcha
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     R:\DISCAPTCHA\npm-debug.log

Allow replacing the verification message

It would be cool if you could change the verification message to something else. You could for example give the server rules as something that requires agreement.

Make sure to validate server settings

Admin must be clearly informed whether the given guild settings are OK.

  • Does the verification role exist?
  • Does the verification role has proper permissions?
  • Does the moderator role exist?

Add report channel

A report channel would be a guild channel where Discaptcha reports about its activity.

  • When the bot kicks someone.
  • When someone is confirmed human.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.