Official repository WinTenDev Zizi Bot, written in .NET
Name | URL |
---|---|
ZiziBot Beta | https://github.com/WinTenDev/ZiziBot.NET/releases |
ZiziBot Stable | https://github.com/WinTenDev/ZiziBot.NET/releases/latest |
- .NET 6 SDK
- MySQL/MariaDB (we under plan to migrate to MongoDB)
- MongoDB (Some data has stored to MongoDB)
- Bot Token (required)
- Nginx or OpenLiteSpeed for reverse proxy (Optional)
- ClickHouse (Optional, for analytic)
- Google Cloud API (Optional, for OCR, Drive, etc.)
- OptiicDev API (optional, for OCR)
- GitHub PAT (optional, for Advanced RSS for GitHub release)
- Uptobox Token (Optional, for Mirror)
- Datadog (Optional, for logging)
- Exceptionless (Optional, trace error)
- Sentry (Optional, trace error)
- EventLog (Optional, send error to ChatId)
Here some main features, and some features are enabled by default.
- Realtime AntiSpam check for Members. Powered by ES2, SpamWatch, UserGe and CAS.
- Watching username, first Name and last Name changes (called Zizi Mata).
- Scan Message for a prevention message contains spam, bad words or unattended strings.
- Force subscription into a Linked and Added channel.
- Flood Detector to reduce a message sent by member (BETA).
- Anti-CapsLock for reducing to many uppercase characters (BETA).
- Anti-Spam detector based on User activity (for Public Group only) (BETA).
- AutoAnswer for Chat Join Request. As per feature above if enabled, some member check above will be run and action will be executed on the fly (Check Username, Profile Photo, Force Subscription etc.)
- ShalatTime for Indonesia (can multiple city for one Private/Group).
- OCR powered by OptiicDev API.
- Generate and Read QR for replied Message.
- RSS Feed (and Advanced RSS for a source like GitHub release).
- Translate message text for replied Message.
- Generate random number with some expression.
- Get random Cat images.
- EGS Free Weekly.
- Subtitle search and Download, powered by subscene.com
- Search word on KBBI.
- And many others.
- Clone this repo and open .sln using your favorite IDE or Text Editor.
- Install MySQL/MariaDB and create database e.g.
zizibot_data
. - Install MongoDB or use MongoDB Atlas.
- Copy appsettings.example.json to appsettings.json and fill some property.
- check an optional .json under Storage/AppSettings for some feature if you want, copy from Examples to Current and fill some property.
- Press Start in your IDE to start debugging or via CLI.
- Your bot has run local as Development using a Poll mode.
Make sure you have fill appsettings.json and setup any requirement at Preparation section. For quick deployment, you can get a prebuilt binary, go to Releases tab.