abigailwillow / hoshikawa Goto Github PK
View Code? Open in Web Editor NEWAnother Discord bot
License: GNU General Public License v3.0
Another Discord bot
License: GNU General Public License v3.0
Hi, this bot is in a server I'm in. I noticed it'd pick up I'm gay even if you typed something like... impossibly gay
/(i'*m|am)(\s+.*?|)(gay)/gi
should be able to replace https://github.com/abbydiode/hoshikawa/blob/b19d111d88a7eb991bff02dce295bdc54f7049c6/hoshikawa.js#L33
If you switch to it, you should be able to also remove the toLowerCase and replace methods as those are both are now built into the match.
Not sure if it 100% meets the requirements you were going for.
regexr.com/7i5ol - There's my test cases
Maybe even congratulate the person in general chat?
Instead of using an arbitrary prefix, implement Discord's slash command system.
Perhaps by sending new users a direct message containing some questions, which moderators can then review?
Just for fun, Hoshikawa should update her status to look like she's playing games every now and then.
Within a certain period of time of inactivity the bot should take away user's verified role, where they can then verify again. If a user is unverified for too long they should be kicked entirely.
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.