Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/takayama-lily/oicq-guild
Tencent QQ Guild Protocol Library
https://github.com/takayama-lily/oicq-guild
bot channel guild nodejs oicq
Last synced: 3 months ago
JSON representation
Tencent QQ Guild Protocol Library
- Host: GitHub
- URL: https://github.com/takayama-lily/oicq-guild
- Owner: takayama-lily
- License: mpl-2.0
- Created: 2022-05-08T13:16:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-11T14:01:41.000Z (over 2 years ago)
- Last Synced: 2024-10-13T01:33:15.049Z (3 months ago)
- Topics: bot, channel, guild, nodejs, oicq
- Language: TypeScript
- Homepage:
- Size: 21.5 KB
- Stars: 51
- Watchers: 1
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# oicq-guild
[oicq](https://github.com/takayama-lily/oicq) guild plugin
**Install:**
```bash
npm i oicq-guild
```**Usage:**
```js
const { createClient } = require("oicq")
const { GuildApp } = require("oicq-guild")// input with your account and password
const account = 0
const password = ""// create oicq client
const client = createClient(account)
client.login(password)// create guild app and bind it to an oicq client
const app = GuildApp.bind(client)app.on("ready", function () {
console.log("My guild list:")
console.log(this.guilds)
})app.on("message", e => {
console.log(e)
if (e.raw_message === "hello")
e.reply(`Hello, ${e.sender.nickname}!`)
})
```**how to clear the slider captcha:**
**protobuf分析工具:**
https://protobuf-decoder.netlify.app
https://github.com/takayama-lily/unpack-tools