Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: 事件推送时传出完整负载 #124

Merged
merged 12 commits into from
Mar 17, 2024
10 changes: 4 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ updates:
directory: /
schedule:
interval: weekly
ignore:
- dependency-name: '@types/node'
groups:
dependencies:
patterns:
- '*'
groups:
dependencies:
patterns:
- '*'
2 changes: 1 addition & 1 deletion examples/src/listen-events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const bot = new Bot(YOUR_BOT_TOKEN)
const bus = await bot.listen()

bus.on('connect', (ev) => {
console.log('Connection opened, id:', ev.data.client_id)
console.log('Connection opened, id:', ev.client_id)
})
bus.on('error', e => console.error('Error occurred:', e))
bus.on('push', (ev) => {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"devDependencies": {
"@antfu/eslint-config": "^2.6.3",
"@inquirer/prompts": "^4.0.0",
"@inquirer/prompts": "^3.3.0",
"@swc/core": "^1.3.100",
"@swc/helpers": "^0.5.3",
"@swc/jest": "^0.2.29",
Expand All @@ -57,7 +57,7 @@
"typedoc": "^0.25.7",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "^5.1.6",
"vitepress": "1.0.0-rc.44",
"vitepress": "1.0.0-rc.40",
"vue": "^3.3.12"
},
"publishConfig": {
Expand Down
Loading
Loading