Skip to content

[draft] Mod mail and new member onboarding#84

Closed
vcarl wants to merge 38 commits intomainfrom
vc-modmail
Closed

[draft] Mod mail and new member onboarding#84
vcarl wants to merge 38 commits intomainfrom
vc-modmail

Conversation

@vcarl
Copy link
Copy Markdown
Member

@vcarl vcarl commented Dec 28, 2020

I stole feaures out of kentcdodds/kcd-discord-bot, I haven't begun integrating it but I thought I'd push it up.

Since it was interesting, I got this by doing

git clone [email protected]:reactiflux/reactibot.git
git clone [email protected]:kentcdodds/kcd-discord-bot.git
cd kcd-discord-bot
git-filter-repo --path src/private-chat/ --path src/onboarding/ --path-rename 'src/:src/features/'

cd ../reactibot
git remote add kcd ../kcd-discord-bot/
git fetch kcd
git merge --allow-unrelated-histories kcd/master

and blammo, features available with complete git history, for fun and profit fun.

kentcdodds and others added 30 commits December 28, 2020 12:02
* feat: add the new private-chat command

the new command is available using ?private-chat

* fix: should show both warnings

* fix: review

* fix: remove Set because can cause problems with server restart

* Update src/commands/command-fns/private-chat.js

Co-authored-by: Kent C. Dodds <[email protected]>
* test: add test to check if no members are mentioned

* test: add category and some utils to make discord works with private chat

* test: create channel like real discord

* feat: add getCategory util

* test: add test that should create the new channel

* test: add tests for private-chat

* refactor: refactor tests to use new handlers

* fix: sort messages by timestamp

* test: add test when the same chat is created two times for the same members

* refactor: use default timeout

* fix: use await

* refactor: removed custom messages attribute on channel

* fix: should send only one warning message

* fix: you can't create a chat with yourself

* fix: removed login causing an issue with ws

* refactor: move token in Object.assign

* fix: different chat name depending on users

* refactor: remove spy on send

* refactor: remove spy on send for help and info

* refactor: remove multiple MSW server

* fix: cleanup Discord instances

* refactor: refactor onboarding using the new discord functions

* test: add space in the snapshot

* test: check if the channel name is correct

* fix: when the user doesn't have a nickname the kif printed a not defined value

* test: add the last test for blog command when the resulting set of the search contain more than 10 results

* refactor: use displayName instead of our util

* refactor: move class to object
* feat: support new extend command

* fix: review

* feat: add expiration date and mentioned users in private-chat topic
Base automatically changed from master to main January 22, 2021 23:29
@vcarl vcarl changed the title [draft] Mod mail implementation [draft] Mod mail and new member onboarding Oct 18, 2021
@vcarl
Copy link
Copy Markdown
Member Author

vcarl commented Aug 19, 2024

First-party onboarding as a feature made this ~ irrelevant

@vcarl vcarl closed this Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants