ahoys / discaptcha Goto Github PK
View Code? Open in Web Editor NEWCaptcha for Discord!
License: MIT License
Captcha for Discord!
License: MIT License
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.
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?
Display progress messages on long executions. e.g. humanize & botify on big servers.
Currently only the count is displayed. It would be good to display the names too if there are only a few of them. This could possibly help in troubleshooting.
For example @Discaptcha humanize can take a pretty long time in a big server.
It would be good if this is mentioned in the "are you sure phase" and after that, to acknowledge the command.
Are event listeners properly removed before the bot reconnects?
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
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.
Admin must be clearly informed whether the given guild settings are OK.
A report channel would be a guild channel where Discaptcha reports about its activity.
When I type /install, this error appear: https://prnt.sc/24tqr9b
How can we solve it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.