https://github.com/icyleaf/wechat-bot
还不知道如何走向的微信机器人
https://github.com/icyleaf/wechat-bot
ruby wechat wechat-bot weixin-bot
Last synced: about 1 year ago
JSON representation
还不知道如何走向的微信机器人
- Host: GitHub
- URL: https://github.com/icyleaf/wechat-bot
- Owner: icyleaf
- License: mit
- Created: 2017-06-23T10:07:50.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-10-08T12:15:06.000Z (over 2 years ago)
- Last Synced: 2025-04-14T09:08:59.685Z (about 1 year ago)
- Topics: ruby, wechat, wechat-bot, weixin-bot
- Language: Ruby
- Size: 146 KB
- Stars: 8
- Watchers: 5
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# wechat-bot
[](https://circleci.com/gh/icyleaf/wechat-bot)
[](https://inch-ci.org/github/icyleaf/wechat-bot)
[](https://rubygems.org/gems/wechat-bot)
[](LICENSE.txt)
微信机器人 Ruby 版本。
## 快速上手
```ruby
require 'wechat-bot'
bot = WeChat::Bot.new do
on :message, "ping" do |message|
message.reply "PONG"
end
end
bot.start
```