OT v4.2.1: Fixed TS bug with shared components
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@
|
||||
"license": "GPL-3.0-only",
|
||||
"dependencies": {
|
||||
"@discordjs/rest": "^2.6.1",
|
||||
"@open-discord-bots/framework": "^1.0.0",
|
||||
"@open-discord-bots/framework": "^2.0.0",
|
||||
"@types/node": "^22.5.0",
|
||||
"@types/terminal-kit": "^2.5.7",
|
||||
"ansis": "^4.2.0",
|
||||
|
||||
@@ -10,8 +10,8 @@ import { ODTicket } from "../api/ticket.js"
|
||||
* A list of all available IDs in the default `ODSharedComponentManager` class in `opendiscord`.
|
||||
* It's used to generate typescript declarations for this class.
|
||||
*/
|
||||
export interface ODSharedComponentManagerIdMappings extends api.ODComponentManagerIdConstraint {
|
||||
//"opendiscord:example-component":{origin:"slash"|"text"|"other",params:{guild:discord.Guild|null,channel:discord.TextBasedChannel,user:discord.User},workers:"opendiscord:example-component"},
|
||||
export interface ODSharedComponentManagerIdMappings extends api.ODSharedComponentManagerIdConstraint {
|
||||
//"opendiscord:example-component":{component:api.ODComponent<object,any>,origin:"slash"|"text"|"other",params:{guild:discord.Guild|null,channel:discord.TextBasedChannel,user:discord.User},workers:"opendiscord:example-component"},
|
||||
}
|
||||
|
||||
/**## ODMessageComponentManagerIdMappings `interface`
|
||||
|
||||
Reference in New Issue
Block a user