Friday.BOT
Friday Bot is designed for serving the Wechaty community purpose.
Image: Five Dollar Friday
Staging
We are current DevOps the master branch from the repo to Heroku under the protection of GitHub Actions.
You can visit the staging system at http://friday.chatie.io/
DDD & CQRS
- Refactoring Friday BOT with NestJS, Domain-driven Design (DDD), and CQRS, @huan, Feb 27, 2022
- CQRS Wechaty: An event-driven architecture wrapper for Wechaty that applies the CQS principle by using separate Query and Command messages to retrieve and modify the bot state, respectively.
Contributors
History
master v1.13 Jan 29, 2022
Use NestJS to build the server.
DDD & CQS
- Layers in DDD microservices
- Effective Aggregate Design
- Part I: Modeling a Single Aggregate
- Part II: Making Aggregates Work Together
- Part III: Gining Insight Through Discovery
- Domain-Application-Infrastructure Services pattern
Tips & Troubleshooting
- Do not use
import type {} from 'xxx'
to import a Injectable. Use import {} from 'xxx'
instead to import the values.
- Every
Handlers
, Commands
, Queries
classe must have a Handler
class because NestJS requires the decorator @{Command,Events,Query}Handler()
to register those classes. You will get error TypeError: Cannot read properties of undefined (reading 'id') at EventBus.defaultGetEventId [as getEventId]
if you forget to register the handler class.
v0.11 (Dec 2021)
- ES Module support
v0.9 (Aug 22, 2020) On Gitter
Gitter.im synced with WeChat rooms!
- Start using wechaty-puppet-gitter to sync message between puppets.
v0.8 (Aug 4, 2020) On Tecent Official Account Platform!
- The first version that managing two Wechaty bots together!
- Start using wechaty-puppet-official-account
v0.6 (Jul 18, 2020) Added Wechaty Vorpal CLI Comands!
- Fully powered by Wechaty Vorpal and Wechaty Vorpal Contrib commands!
- Restructure directories & source code files
- Add Dockerfile so that we can deploy Friday.BOT with the power of Docker!
v0.4 (Jun 15, 2020) Refactored with Wechaty Plugin!
- Fully powered by Wechaty Plugins! See: wechaty-plugin-contrib
- Restructure directories & source code files
v0.2 (Dec 25, 2019) Added Basic Functions
Basic functions like:
- Room Inviter (by ...)
- Vote Out (by @windmemory)
- Crontab (by @qhduan)
- etc.
v0.0.1 (Aug 23, 2019)
Friday Bot initialized by BOT5.Club members.
Maintainers
- Huan (李卓桓) Creator of Wechaty, Tencent TVP of Chatbot, [email protected]
- Rui (李佳芮) Co-creator of Wechaty, Founder & CEO of JuziBot
- Yuan (高原) Co-founder & CTO of JuziBot
- Hua (段清华) Founder & CTO of KDF.ai
See: https://github.com/orgs/wechaty/teams/chairs/members
Sponsors
- Google Cloud credits are provided for this project. #GeminiSprint
Copyright & License
- Code & Docs © 2019-now Wechaty Contributors
- Code released under the Apache-2.0 License
- Docs released under Creative Commons