Skip to content

yuchenghuo/orange-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orange Wechat Bot

An Wechat group chat bot for entertainment, etc.

Features

  • Auto reply to messages sent by users in the group.
  • Track members who check-in daily to the group and reward in coins and relationship.
  • Tarot, Zhuge, Zhouyi, and other fortune-telling methods.
  • Remind users of their following Bilibili streamers status.
  • Add your own features.

Prerequisites

Installation

  • Get a Pad Local token from Pad Local

  • Get a Salmon Cross token from Salmon Cross

  • Modify the environment variables and rename bot.env.example and gateway.sh.example to bot.env and gateway.sh. You can generate uuid by:

    import uuid
    print(uuid.uuid4())
  • Intall Docker:

    brew cask install docker
  • Intall and Run Wechaty Gateway:

    chmod +x gateway.sh
    ./gateway.sh
  • Create Python virtual environment:

    python3 -m venv venv
    source venv/bin/activate
  • Intall Wechaty:

    pip install python-dotenv
    pip install wechaty
  • Run Orange Wechat Bot:

    python3 orange_wechat_bot.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published