View Code? Open in Web Editor
NEW
Another Discord bot
License: GNU General Public License v3.0
hoshikawa's Introduction
Command
Description
npm install
Run initial setup
npm start
Start the bot
npm run deploy
Deploy commands from commands.json
hoshikawa's People
Contributors
Stargazers
hoshikawa's Issues
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.
Perhaps by sending new users a direct message containing some questions, which moderators can then review?
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
Instead of using an arbitrary prefix, implement Discord's slash command system.
Just for fun, Hoshikawa should update her status to look like she's playing games every now and then.
Maybe even congratulate the person in general chat?