Skip to content

Commit

Permalink
Merge branch 'main' into renovate/sapphire-framework-4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSegal855 committed Jan 16, 2023
2 parents 9f5cc21 + 165124a commit 884be7d
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/interaction-handlers/poll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ import { dateToTimestamp } from '@lib/utils';
export class PollHandler extends InteractionHandler {

public async parse(interaction: ButtonInteraction) {
if (!interaction.id.startsWith('poll')) {
if (!interaction.customId.startsWith('poll')) {
return this.none();
}

await interaction.deferUpdate();
return this.some(this.container.db.polls.findOne({ messageId: interaction.message.id }));
}
Expand Down
74 changes: 73 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1519,6 +1519,15 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/eslint-plugin@npm:5.48.1":
version: 5.48.1
resolution: "@typescript-eslint/eslint-plugin@npm:5.48.1"
dependencies:
"@types/node": "*"
checksum: 0ce46f850d41383fcdc2149bcacc86d7232fa7a233f903d2246dff86e31701a02f8566f40af5f8b56d1834779255c04ec6ec78660fe0f9b2a69cf3d71937e4ae
languageName: node
linkType: hard

"@typescript-eslint/eslint-plugin@npm:5.48.1":
version: 5.48.1
resolution: "@typescript-eslint/eslint-plugin@npm:5.48.1"
Expand Down Expand Up @@ -1580,6 +1589,16 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/scope-manager@npm:5.48.1":
version: 5.48.1
resolution: "@typescript-eslint/scope-manager@npm:5.48.1"
dependencies:
"@typescript-eslint/types": 5.48.1
"@typescript-eslint/visitor-keys": 5.48.1
checksum: f60a7efe917798cccf8652925de6be58b023ded6c6ee44ce74d074f0c2a1927680398a6d73bab33d500c69474ad8c54d63b90fcc6e13256712707d12a60e0a64
languageName: node
linkType: hard

"@typescript-eslint/type-utils@npm:5.48.1":
version: 5.48.1
resolution: "@typescript-eslint/type-utils@npm:5.48.1"
Expand All @@ -1604,6 +1623,31 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/types@npm:5.48.1":
version: 5.48.1
resolution: "@typescript-eslint/types@npm:5.48.1"
checksum: 8437986e9d86d792b23327517ae2f9861ec55992d5a9cd55991e525409b6244169436cd708f3987ab7c579e45e59b6eab5a9d3583f7729219e25691164293094
languageName: node
linkType: hard

"@typescript-eslint/typescript-estree@npm:5.46.1":
version: 5.46.1
resolution: "@typescript-eslint/typescript-estree@npm:5.46.1"
dependencies:
"@typescript-eslint/types": 5.48.1
"@typescript-eslint/visitor-keys": 5.48.1
debug: ^4.3.4
globby: ^11.1.0
is-glob: ^4.0.3
semver: ^7.3.7
tsutils: ^3.21.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 2b26e5848ef131e1bb99ed54d8c0efa8279cf8e8f7d8b72de00c2ca6cf2799d96c20f5bbbcf26e14e81b7b9d1035ba509bff30f2d852c174815879e8f14c27ed
languageName: node
linkType: hard

"@typescript-eslint/typescript-estree@npm:5.48.1":
version: 5.48.1
resolution: "@typescript-eslint/typescript-estree@npm:5.48.1"
Expand All @@ -1622,6 +1666,24 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/utils@npm:5.46.1":
version: 5.46.1
resolution: "@typescript-eslint/utils@npm:5.46.1"
dependencies:
"@types/json-schema": ^7.0.9
"@types/semver": ^7.3.12
"@typescript-eslint/scope-manager": 5.48.1
"@typescript-eslint/types": 5.48.1
"@typescript-eslint/typescript-estree": 5.48.1
eslint-scope: ^5.1.1
eslint-utils: ^3.0.0
semver: ^7.3.7
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
checksum: 2d112cbb6a920f147c6c3322e404ca3c56c1170e1ede3bcbf16fb779960dc24cdba688b1f2d06acd242859fc1dbc8702da5f8fa8bbf53e7081e41d80bec4c236
languageName: node
linkType: hard

"@typescript-eslint/utils@npm:5.48.1":
version: 5.48.1
resolution: "@typescript-eslint/utils@npm:5.48.1"
Expand All @@ -1640,6 +1702,16 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/visitor-keys@npm:5.46.1":
version: 5.46.1
resolution: "@typescript-eslint/visitor-keys@npm:5.46.1"
dependencies:
"@typescript-eslint/types": 5.46.1
eslint-visitor-keys: ^3.3.0
checksum: 2bda10cf4e6bc48b0d463767617e48a832d708b9434665dff6ed101f7d33e0d592f02af17a2259bde1bd17e666246448ae78d0fe006148cb93d897fff9b1d134
languageName: node
linkType: hard

"@typescript-eslint/visitor-keys@npm:5.48.1":
version: 5.48.1
resolution: "@typescript-eslint/visitor-keys@npm:5.48.1"
Expand Down Expand Up @@ -4507,7 +4579,7 @@ __metadata:
"@types/ws": 8.5.4
"@typescript-eslint/eslint-plugin": 5.48.1
"@typescript-eslint/parser": 5.48.1
axios: 1.2.2
axios: 0.27.2
canvas: 2.11.0
chart.js: 4.1.2
chartjs-node-canvas: 4.1.6
Expand Down

0 comments on commit 884be7d

Please sign in to comment.