Files
archived-sern-community/docs.json
Jacob Nguyen ca69bab0b9 chore: update docs (#22)
Co-authored-by: EvolutionX <evolutionx9777@gmail.com>
2022-10-18 08:29:55 +05:30

8600 lines
197 KiB
JSON

{
"id": 0,
"name": "@sern/handler",
"kind": 1,
"kindString": "Project",
"flags": {},
"originalName": "",
"children": [
{
"id": 25,
"name": "Sern",
"kind": 4,
"kindString": "Namespace",
"flags": {},
"children": [
{
"id": 43,
"name": "CommandExecutable",
"kind": 8388608,
"kindString": "Reference",
"flags": {},
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 128,
"character": 22,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L128"
}
],
"target": 16
},
{
"id": 44,
"name": "EventExecutable",
"kind": 8388608,
"kindString": "Reference",
"flags": {},
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 135,
"character": 22,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L135"
}
],
"target": 7
},
{
"id": 33,
"name": "commandModule",
"kind": 8388608,
"kindString": "Reference",
"flags": {},
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 91,
"character": 16,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L91"
}
],
"target": 4
},
{
"id": 34,
"name": "eventModule",
"kind": 8388608,
"kindString": "Reference",
"flags": {},
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 112,
"character": 16,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L112"
}
],
"target": 1
},
{
"id": 35,
"name": "controller",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "The object passed into every plugin to control a command's behavior"
}
]
},
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 82,
"character": 13,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L82"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 36,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 37,
"name": "next",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 83,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L83"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 38,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 83,
"character": 10,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L83"
}
],
"signatures": [
{
"id": 39,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "void"
}
],
"name": "OkImpl",
"qualifiedName": "OkImpl",
"package": "ts-results-es"
}
}
]
}
},
"defaultValue": "..."
},
{
"id": 40,
"name": "stop",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 84,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L84"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 41,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 84,
"character": 10,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L84"
}
],
"signatures": [
{
"id": 42,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "void"
}
],
"name": "ErrImpl",
"qualifiedName": "ErrImpl",
"package": "ts-results-es"
}
}
]
}
},
"defaultValue": "..."
}
],
"groups": [
{
"title": "Properties",
"children": [
37,
40
]
}
],
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 82,
"character": 26,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L82"
}
]
}
},
"defaultValue": "..."
},
{
"id": 29,
"name": "addExternal",
"kind": 64,
"kindString": "Function",
"flags": {},
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 72,
"character": 16,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L72"
}
],
"signatures": [
{
"id": 30,
"name": "addExternal",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"summary": [],
"blockTags": [
{
"tag": "@deprecated",
"content": [
{
"kind": "text",
"text": "- use Sern#makeDependencies instead"
}
]
},
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts title=\"src/index.ts\"\r\n//Add this before initiating Sern!\r\nSern.addExternal(new Level())\r\n```"
}
]
},
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts title=\"events/level.ts\"\r\n export default eventModule({\r\n emitter: 'Level',\r\n type : EventType.External,\r\n name: 'error',\r\n execute(args) {\r\n console.log(args)\r\n }\r\n })\r\n```"
}
]
}
]
},
"typeParameter": [
{
"id": 31,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
"name": "__module",
"qualifiedName": "EventEmitter",
"package": "@types/node"
}
}
],
"parameters": [
{
"id": 32,
"name": "emitter",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Any external event emitter.\r\nThe object will be stored in a map, and then fetched by the name of the instance's class.\r\nAs there are infinite possibilities to adding external event emitters,\r\nMost types aren't provided and are as narrow as possibly can."
}
]
},
"type": {
"type": "reference",
"id": 31,
"name": "T"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 26,
"name": "init",
"kind": 64,
"kindString": "Function",
"flags": {},
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 39,
"character": 16,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L39"
}
],
"signatures": [
{
"id": 27,
"name": "init",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"summary": [],
"blockTags": [
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts title=\"src/index.ts\"\r\nSern.init({\r\n client,\r\n defaultPrefix: '!',\r\n commands: 'dist/commands',\r\n})\r\n```"
}
]
}
]
},
"parameters": [
{
"id": 28,
"name": "wrapper",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Options to pass into sern.\r\nFunction to start the handler up"
}
]
},
"type": {
"type": "reference",
"id": 190,
"name": "Wrapper"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
],
"groups": [
{
"title": "References",
"children": [
43,
44,
33,
34
]
},
{
"title": "Variables",
"children": [
35
]
},
{
"title": "Functions",
"children": [
29,
26
]
}
],
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 1,
"character": 0,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L1"
}
]
},
{
"id": 220,
"name": "CommandType",
"kind": 8,
"kindString": "Enumeration",
"flags": {},
"comment": {
"summary": [],
"blockTags": [
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts\nexport default commandModule({\n // highlight-next-line\n type : CommandType.Text,\n name : 'a text command'\n execute(message) {\n console.log(message.content)\n }\n})\n```"
}
]
}
]
},
"children": [
{
"id": 223,
"name": "Both",
"kind": 16,
"kindString": "Enumeration Member",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The CommandType for hybrid commands, text and slash"
}
]
},
"sources": [
{
"fileName": "src/handler/structures/enums.ts",
"line": 27,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/enums.ts#L27"
}
],
"type": {
"type": "literal",
"value": 3
}
},
{
"id": 226,
"name": "Button",
"kind": 16,
"kindString": "Enumeration Member",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The CommandType for ButtonInteraction commands"
}
]
},
"sources": [
{
"fileName": "src/handler/structures/enums.ts",
"line": 39,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/enums.ts#L39"
}
],
"type": {
"type": "literal",
"value": 16
}
},
{
"id": 225,
"name": "MenuMsg",
"kind": 16,
"kindString": "Enumeration Member",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The CommandType for MessageContextMenuInteraction commands"
}
]
},
"sources": [
{
"fileName": "src/handler/structures/enums.ts",
"line": 35,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/enums.ts#L35"
}
],
"type": {
"type": "literal",
"value": 8
}
},
{
"id": 227,
"name": "MenuSelect",
"kind": 16,
"kindString": "Enumeration Member",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The CommandType for SelectMenuInteraction commands"
}
]
},
"sources": [
{
"fileName": "src/handler/structures/enums.ts",
"line": 43,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/enums.ts#L43"
}
],
"type": {
"type": "literal",
"value": 32
}
},
{
"id": 224,
"name": "MenuUser",
"kind": 16,
"kindString": "Enumeration Member",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The CommandType for UserContextMenuInteraction commands"
}
]
},
"sources": [
{
"fileName": "src/handler/structures/enums.ts",
"line": 31,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/enums.ts#L31"
}
],
"type": {
"type": "literal",
"value": 4
}
},
{
"id": 228,
"name": "Modal",
"kind": 16,
"kindString": "Enumeration Member",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The CommandType for ModalSubmitInteraction commands"
}
]
},
"sources": [
{
"fileName": "src/handler/structures/enums.ts",
"line": 47,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/enums.ts#L47"
}
],
"type": {
"type": "literal",
"value": 64
}
},
{
"id": 222,
"name": "Slash",
"kind": 16,
"kindString": "Enumeration Member",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The CommandType for slash commands"
}
]
},
"sources": [
{
"fileName": "src/handler/structures/enums.ts",
"line": 23,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/enums.ts#L23"
}
],
"type": {
"type": "literal",
"value": 2
}
},
{
"id": 221,
"name": "Text",
"kind": 16,
"kindString": "Enumeration Member",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The CommandType for text commands"
}
]
},
"sources": [
{
"fileName": "src/handler/structures/enums.ts",
"line": 19,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/enums.ts#L19"
}
],
"type": {
"type": "literal",
"value": 1
}
}
],
"groups": [
{
"title": "Enumeration Members",
"children": [
223,
226,
225,
227,
224,
228,
222,
221
]
}
],
"sources": [
{
"fileName": "src/handler/structures/enums.ts",
"line": 15,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/enums.ts#L15"
}
]
},
{
"id": 229,
"name": "EventType",
"kind": 8,
"kindString": "Enumeration",
"flags": {},
"comment": {
"summary": [],
"blockTags": [
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts\nexport default eventModule({\n //highlight-next-line\n type : EventType.Discord,\n name : 'guildMemberAdd'\n execute(member : GuildMember) {\n console.log(member)\n }\n})\n```"
}
]
}
]
},
"children": [
{
"id": 230,
"name": "Discord",
"kind": 16,
"kindString": "Enumeration Member",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The EventType for handling discord events"
}
]
},
"sources": [
{
"fileName": "src/handler/structures/enums.ts",
"line": 68,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/enums.ts#L68"
}
],
"type": {
"type": "literal",
"value": 1
}
},
{
"id": 232,
"name": "External",
"kind": 16,
"kindString": "Enumeration Member",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The EventType for handling external events.\nCould be for example, "
},
{
"kind": "code",
"text": "`process`"
},
{
"kind": "text",
"text": " events, database events"
}
]
},
"sources": [
{
"fileName": "src/handler/structures/enums.ts",
"line": 77,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/enums.ts#L77"
}
],
"type": {
"type": "literal",
"value": 3
}
},
{
"id": 231,
"name": "Sern",
"kind": 16,
"kindString": "Enumeration Member",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The EventType for handling sern events"
}
]
},
"sources": [
{
"fileName": "src/handler/structures/enums.ts",
"line": 72,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/enums.ts#L72"
}
],
"type": {
"type": "literal",
"value": 2
}
}
],
"groups": [
{
"title": "Enumeration Members",
"children": [
230,
232,
231
]
}
],
"sources": [
{
"fileName": "src/handler/structures/enums.ts",
"line": 64,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/enums.ts#L64"
}
]
},
{
"id": 236,
"name": "PayloadType",
"kind": 8,
"kindString": "Enumeration",
"flags": {},
"children": [
{
"id": 238,
"name": "Failure",
"kind": 16,
"kindString": "Enumeration Member",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The PayloadType for a SernEmitter failure event"
}
]
},
"sources": [
{
"fileName": "src/handler/structures/enums.ts",
"line": 114,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/enums.ts#L114"
}
],
"type": {
"type": "literal",
"value": "failure"
}
},
{
"id": 237,
"name": "Success",
"kind": 16,
"kindString": "Enumeration Member",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The PayloadType for a SernEmitter success event"
}
]
},
"sources": [
{
"fileName": "src/handler/structures/enums.ts",
"line": 110,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/enums.ts#L110"
}
],
"type": {
"type": "literal",
"value": "success"
}
},
{
"id": 239,
"name": "Warning",
"kind": 16,
"kindString": "Enumeration Member",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The PayloadType for a SernEmitter warning event"
}
]
},
"sources": [
{
"fileName": "src/handler/structures/enums.ts",
"line": 118,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/enums.ts#L118"
}
],
"type": {
"type": "literal",
"value": "warning"
}
}
],
"groups": [
{
"title": "Enumeration Members",
"children": [
238,
237,
239
]
}
],
"sources": [
{
"fileName": "src/handler/structures/enums.ts",
"line": 106,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/enums.ts#L106"
}
]
},
{
"id": 233,
"name": "PluginType",
"kind": 8,
"kindString": "Enumeration",
"flags": {},
"comment": {
"summary": [],
"blockTags": [
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts\nexport default function myPlugin() : EventPlugin<CommandType.Text> {\n //highlight-next-line\n type : PluginType.Event,\n execute([ctx, args], controller) {\n return controller.next();\n }\n}\n```"
}
]
}
]
},
"children": [
{
"id": 234,
"name": "Command",
"kind": 16,
"kindString": "Enumeration Member",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The PluginType for CommandPlugins"
}
]
},
"sources": [
{
"fileName": "src/handler/structures/enums.ts",
"line": 97,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/enums.ts#L97"
}
],
"type": {
"type": "literal",
"value": 1
}
},
{
"id": 235,
"name": "Event",
"kind": 16,
"kindString": "Enumeration Member",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The PluginType for EventPlugins"
}
]
},
"sources": [
{
"fileName": "src/handler/structures/enums.ts",
"line": 101,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/enums.ts#L101"
}
],
"type": {
"type": "literal",
"value": 2
}
}
],
"groups": [
{
"title": "Enumeration Members",
"children": [
234,
235
]
}
],
"sources": [
{
"fileName": "src/handler/structures/enums.ts",
"line": 93,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/enums.ts#L93"
}
]
},
{
"id": 16,
"name": "CommandExecutable",
"kind": 128,
"kindString": "Class",
"flags": {
"isAbstract": true
},
"children": [
{
"id": 17,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
"signatures": [
{
"id": 18,
"name": "new CommandExecutable",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
"id": 19,
"name": "Type",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
"id": 220,
"name": "CommandType"
}
}
],
"type": {
"type": "reference",
"id": 16,
"typeArguments": [
{
"type": "reference",
"id": 19,
"name": "Type"
}
],
"name": "CommandExecutable"
}
}
]
},
{
"id": 23,
"name": "execute",
"kind": 1024,
"kindString": "Property",
"flags": {
"isAbstract": true
},
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 132,
"character": 13,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L132"
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "execute"
},
"objectType": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"id": 19,
"name": "Type"
},
"objectType": {
"type": "reference",
"name": "CommandModuleDefs"
}
}
}
},
{
"id": 22,
"name": "onEvent",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 131,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L131"
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"id": 296,
"typeArguments": [
{
"type": "reference",
"id": 19,
"name": "Type"
}
],
"name": "EventPlugin"
}
},
"defaultValue": "[]"
},
{
"id": 21,
"name": "plugins",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 130,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L130"
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"id": 247,
"typeArguments": [
{
"type": "reference",
"id": 19,
"name": "Type"
}
],
"name": "CommandPlugin"
}
},
"defaultValue": "[]"
},
{
"id": 20,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {
"isAbstract": true
},
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 129,
"character": 13,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L129"
}
],
"type": {
"type": "reference",
"id": 19,
"name": "Type"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [
17
]
},
{
"title": "Properties",
"children": [
23,
22,
21,
20
]
}
],
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 128,
"character": 22,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L128"
}
],
"typeParameters": [
{
"id": 24,
"name": "Type",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
"id": 220,
"name": "CommandType"
}
}
]
},
{
"id": 120,
"name": "Context",
"kind": 128,
"kindString": "Class",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Provides values shared between\r\nMessage and ChatInputCommandInteraction"
}
]
},
"children": [
{
"id": 124,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isPrivate": true
},
"sources": [
{
"fileName": "src/handler/structures/context.ts",
"line": 31,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/context.ts#L31"
}
],
"signatures": [
{
"id": 125,
"name": "new Context",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
"id": 126,
"name": "oMsg",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "boolean"
}
],
"name": "Message",
"qualifiedName": "Message",
"package": "discord.js"
}
],
"name": "Option",
"qualifiedName": "Option",
"package": "ts-results-es"
},
"defaultValue": "None"
},
{
"id": 127,
"name": "oInterac",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"name": "CacheType",
"qualifiedName": "CacheType",
"package": "discord.js"
}
],
"name": "ChatInputCommandInteraction",
"qualifiedName": "ChatInputCommandInteraction",
"package": "discord.js"
}
],
"name": "Option",
"qualifiedName": "Option",
"package": "ts-results-es"
},
"defaultValue": "None"
}
],
"type": {
"type": "reference",
"id": 120,
"name": "default"
}
}
]
},
{
"id": 134,
"name": "channel",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "src/handler/structures/context.ts",
"line": 63,
"character": 15,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/context.ts#L63"
}
],
"getSignature": {
"id": 135,
"name": "channel",
"kind": 524288,
"kindString": "Get signature",
"flags": {},
"type": {
"type": "reference",
"id": 70,
"typeArguments": [
{
"type": "reference",
"name": "TextBasedChannel",
"qualifiedName": "TextBasedChannel",
"package": "discord.js"
}
],
"name": "Nullish"
}
}
},
{
"id": 146,
"name": "client",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "src/handler/structures/context.ts",
"line": 108,
"character": 15,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/context.ts#L108"
}
],
"getSignature": {
"id": 147,
"name": "client",
"kind": 524288,
"kindString": "Get signature",
"flags": {},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "boolean"
}
],
"name": "Client",
"qualifiedName": "Client",
"package": "discord.js"
}
}
},
{
"id": 138,
"name": "createdTimestamp",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "src/handler/structures/context.ts",
"line": 77,
"character": 15,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/context.ts#L77"
}
],
"getSignature": {
"id": 139,
"name": "createdTimestamp",
"kind": 524288,
"kindString": "Get signature",
"flags": {},
"type": {
"type": "intrinsic",
"name": "number"
}
}
},
{
"id": 140,
"name": "guild",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "src/handler/structures/context.ts",
"line": 84,
"character": 15,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/context.ts#L84"
}
],
"getSignature": {
"id": 141,
"name": "guild",
"kind": 524288,
"kindString": "Get signature",
"flags": {},
"type": {
"type": "reference",
"name": "Guild",
"qualifiedName": "Guild",
"package": "discord.js"
}
}
},
{
"id": 142,
"name": "guildId",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "src/handler/structures/context.ts",
"line": 91,
"character": 15,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/context.ts#L91"
}
],
"getSignature": {
"id": 143,
"name": "guildId",
"kind": 524288,
"kindString": "Get signature",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
},
{
"id": 132,
"name": "id",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "src/handler/structures/context.ts",
"line": 56,
"character": 15,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/context.ts#L56"
}
],
"getSignature": {
"id": 133,
"name": "id",
"kind": 524288,
"kindString": "Get signature",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
},
{
"id": 148,
"name": "inGuild",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "src/handler/structures/context.ts",
"line": 115,
"character": 15,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/context.ts#L115"
}
],
"getSignature": {
"id": 149,
"name": "inGuild",
"kind": 524288,
"kindString": "Get signature",
"flags": {},
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
},
{
"id": 130,
"name": "interaction",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "src/handler/structures/context.ts",
"line": 52,
"character": 15,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/context.ts#L52"
}
],
"getSignature": {
"id": 131,
"name": "interaction",
"kind": 524288,
"kindString": "Get signature",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Getting the ChatInputCommandInteraction object. Crashes if module type is\r\nCommandType.Text or the event fired in a Both command was\r\nMessage"
}
]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"name": "CacheType",
"qualifiedName": "CacheType",
"package": "discord.js"
}
],
"name": "ChatInputCommandInteraction",
"qualifiedName": "ChatInputCommandInteraction",
"package": "discord.js"
}
}
},
{
"id": 144,
"name": "member",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "src/handler/structures/context.ts",
"line": 101,
"character": 15,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/context.ts#L101"
}
],
"getSignature": {
"id": 145,
"name": "member",
"kind": 524288,
"kindString": "Get signature",
"flags": {},
"type": {
"type": "reference",
"id": 70,
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "reference",
"name": "GuildMember",
"qualifiedName": "GuildMember",
"package": "discord.js"
},
{
"type": "reference",
"name": "APIGuildMember",
"qualifiedName": "APIGuildMember",
"package": "discord-api-types"
}
]
}
],
"name": "Nullish"
}
}
},
{
"id": 128,
"name": "message",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "src/handler/structures/context.ts",
"line": 44,
"character": 15,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/context.ts#L44"
}
],
"getSignature": {
"id": 129,
"name": "message",
"kind": 524288,
"kindString": "Get signature",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Getting the Message object. Crashes if module type is\r\nCommandType.Slash or the event fired in a Both command was\r\nChatInputCommandInteraction"
}
]
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "boolean"
}
],
"name": "Message",
"qualifiedName": "Message",
"package": "discord.js"
}
}
},
{
"id": 136,
"name": "user",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "src/handler/structures/context.ts",
"line": 70,
"character": 15,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/context.ts#L70"
}
],
"getSignature": {
"id": 137,
"name": "user",
"kind": 524288,
"kindString": "Get signature",
"flags": {},
"type": {
"type": "reference",
"name": "User",
"qualifiedName": "User",
"package": "discord.js"
}
}
},
{
"id": 150,
"name": "isEmpty",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "src/handler/structures/context.ts",
"line": 129,
"character": 11,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/context.ts#L129"
}
],
"signatures": [
{
"id": 151,
"name": "isEmpty",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
]
},
{
"id": 152,
"name": "reply",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "src/handler/structures/context.ts",
"line": 133,
"character": 11,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/context.ts#L133"
}
],
"signatures": [
{
"id": 153,
"name": "reply",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 154,
"name": "content",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 119,
"name": "ReplyOptions"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "boolean"
}
],
"name": "Message",
"qualifiedName": "Message",
"package": "discord.js"
}
],
"name": "Promise",
"qualifiedName": "Promise",
"package": "typescript"
}
}
]
},
{
"id": 121,
"name": "wrap",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true
},
"sources": [
{
"fileName": "src/handler/structures/context.ts",
"line": 122,
"character": 11,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/context.ts#L122"
}
],
"signatures": [
{
"id": 122,
"name": "wrap",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 123,
"name": "wrappable",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "boolean"
}
],
"name": "Message",
"qualifiedName": "Message",
"package": "discord.js"
},
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"name": "CacheType",
"qualifiedName": "CacheType",
"package": "discord.js"
}
],
"name": "ChatInputCommandInteraction",
"qualifiedName": "ChatInputCommandInteraction",
"package": "discord.js"
}
]
}
}
],
"type": {
"type": "reference",
"id": 120,
"name": "default"
}
}
]
}
],
"groups": [
{
"title": "Constructors",
"children": [
124
]
},
{
"title": "Accessors",
"children": [
134,
146,
138,
140,
142,
132,
148,
130,
144,
128,
136
]
},
{
"title": "Methods",
"children": [
150,
152,
121
]
}
],
"sources": [
{
"fileName": "src/handler/structures/context.ts",
"line": 30,
"character": 21,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/context.ts#L30"
}
]
},
{
"id": 7,
"name": "EventExecutable",
"kind": 128,
"kindString": "Class",
"flags": {
"isAbstract": true
},
"children": [
{
"id": 8,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
"signatures": [
{
"id": 9,
"name": "new EventExecutable",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"typeParameter": [
{
"id": 10,
"name": "Type",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
"id": 229,
"name": "EventType"
}
}
],
"type": {
"type": "reference",
"id": 7,
"typeArguments": [
{
"type": "reference",
"id": 10,
"name": "Type"
}
],
"name": "EventExecutable"
}
}
]
},
{
"id": 14,
"name": "execute",
"kind": 1024,
"kindString": "Property",
"flags": {
"isAbstract": true
},
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 139,
"character": 13,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L139"
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "execute"
},
"objectType": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"id": 10,
"name": "Type"
},
"objectType": {
"type": "reference",
"name": "EventModuleDefs"
}
}
}
},
{
"id": 13,
"name": "onEvent",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 138,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L138"
}
],
"type": {
"type": "array",
"elementType": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"id": 10,
"name": "Type"
},
"objectType": {
"type": "reference",
"id": 335,
"name": "EventModuleEventPluginDefs"
}
}
},
"defaultValue": "[]"
},
{
"id": 12,
"name": "plugins",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 137,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L137"
}
],
"type": {
"type": "array",
"elementType": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"id": 10,
"name": "Type"
},
"objectType": {
"type": "reference",
"id": 340,
"name": "EventModuleCommandPluginDefs"
}
}
},
"defaultValue": "[]"
},
{
"id": 11,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {
"isAbstract": true
},
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 136,
"character": 13,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L136"
}
],
"type": {
"type": "reference",
"id": 10,
"name": "Type"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [
8
]
},
{
"title": "Properties",
"children": [
14,
13,
12,
11
]
}
],
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 135,
"character": 22,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L135"
}
],
"typeParameters": [
{
"id": 15,
"name": "Type",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
"id": 229,
"name": "EventType"
}
}
]
},
{
"id": 45,
"name": "SernEmitter",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
"id": 46,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExternal": true
},
"sources": [
{
"fileName": "node_modules/@types/node/events.d.ts",
"line": 74,
"character": 8
}
],
"signatures": [
{
"id": 47,
"name": "new SernEmitter",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"isExternal": true
},
"parameters": [
{
"id": 48,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExternal": true,
"isOptional": true
},
"type": {
"type": "reference",
"name": "EventEmitterOptions",
"qualifiedName": "EventEmitterOptions",
"package": "@types/node"
}
}
],
"type": {
"type": "reference",
"id": 45,
"name": "SernEmitter"
},
"inheritedFrom": {
"type": "reference",
"name": "EventEmitter.constructor"
}
}
],
"inheritedFrom": {
"type": "reference",
"name": "EventEmitter.constructor"
}
},
{
"id": 65,
"name": "emit",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "src/handler/sernEmitter.ts",
"line": 32,
"character": 20,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sernEmitter.ts#L32"
}
],
"signatures": [
{
"id": 66,
"name": "emit",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Listening to sern events with on. This event stays on until a crash or a normal exit"
}
]
},
"typeParameter": [
{
"id": 67,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"id": 113,
"name": "SernEventsMapping"
}
}
}
],
"parameters": [
{
"id": 68,
"name": "eventName",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 67,
"name": "T"
}
},
{
"id": 69,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "the arguments for emitting the { eventName }"
}
]
},
"type": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"id": 67,
"name": "T"
},
"objectType": {
"type": "reference",
"id": 113,
"name": "SernEventsMapping"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"overwrites": {
"type": "reference",
"name": "EventEmitter.emit"
}
}
],
"overwrites": {
"type": "reference",
"name": "EventEmitter.emit"
}
},
{
"id": 49,
"name": "on",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "src/handler/sernEmitter.ts",
"line": 10,
"character": 20,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sernEmitter.ts#L10"
}
],
"signatures": [
{
"id": 50,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Listening to sern events with on. This event stays on until a crash or a normal exit"
}
]
},
"typeParameter": [
{
"id": 51,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"id": 113,
"name": "SernEventsMapping"
}
}
}
],
"parameters": [
{
"id": 52,
"name": "eventName",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 51,
"name": "T"
}
},
{
"id": 53,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "what to do with the data"
}
]
},
"type": {
"type": "reflection",
"declaration": {
"id": 54,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "src/handler/sernEmitter.ts",
"line": 12,
"character": 18,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sernEmitter.ts#L12"
}
],
"signatures": [
{
"id": 55,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 56,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true
},
"type": {
"type": "array",
"elementType": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"id": 51,
"name": "T"
},
"objectType": {
"type": "reference",
"id": 113,
"name": "SernEventsMapping"
}
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
}
}
],
"type": {
"type": "reference",
"id": 45,
"name": "SernEmitter"
},
"overwrites": {
"type": "reference",
"name": "EventEmitter.on"
}
}
],
"overwrites": {
"type": "reference",
"name": "EventEmitter.on"
}
},
{
"id": 57,
"name": "once",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "src/handler/sernEmitter.ts",
"line": 21,
"character": 20,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sernEmitter.ts#L21"
}
],
"signatures": [
{
"id": 58,
"name": "once",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Listening to sern events with on. This event stays on until a crash or a normal exit"
}
]
},
"typeParameter": [
{
"id": 59,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"id": 113,
"name": "SernEventsMapping"
}
}
}
],
"parameters": [
{
"id": 60,
"name": "eventName",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 59,
"name": "T"
}
},
{
"id": 61,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "what to do with the data"
}
]
},
"type": {
"type": "reflection",
"declaration": {
"id": 62,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "src/handler/sernEmitter.ts",
"line": 23,
"character": 18,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sernEmitter.ts#L23"
}
],
"signatures": [
{
"id": 63,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 64,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true
},
"type": {
"type": "array",
"elementType": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"id": 59,
"name": "T"
},
"objectType": {
"type": "reference",
"id": 113,
"name": "SernEventsMapping"
}
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
}
}
],
"type": {
"type": "reference",
"id": 45,
"name": "SernEmitter"
},
"overwrites": {
"type": "reference",
"name": "EventEmitter.once"
}
}
],
"overwrites": {
"type": "reference",
"name": "EventEmitter.once"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [
46
]
},
{
"title": "Methods",
"children": [
65,
49,
57
]
}
],
"sources": [
{
"fileName": "src/handler/sernEmitter.ts",
"line": 4,
"character": 6,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sernEmitter.ts#L4"
}
],
"extendedTypes": [
{
"type": "reference",
"name": "EventEmitter",
"qualifiedName": "EventEmitter",
"package": "@types/node"
}
]
},
{
"id": 240,
"name": "Controller",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
"id": 241,
"name": "next",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 29,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L29"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 242,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 29,
"character": 10,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L29"
}
],
"signatures": [
{
"id": 243,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "void"
}
],
"name": "Ok",
"qualifiedName": "Ok",
"package": "ts-results-es"
}
}
]
}
}
},
{
"id": 244,
"name": "stop",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 30,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L30"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 245,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 30,
"character": 10,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L30"
}
],
"signatures": [
{
"id": 246,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "void"
}
],
"name": "Err",
"qualifiedName": "Err",
"package": "ts-results-es"
}
}
]
}
}
}
],
"groups": [
{
"title": "Properties",
"children": [
241,
244
]
}
],
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 28,
"character": 17,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L28"
}
]
},
{
"id": 190,
"name": "Wrapper",
"kind": 256,
"kindString": "Interface",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "An object to be passed into Sern#init() function."
}
]
},
"children": [
{
"id": 191,
"name": "client",
"kind": 1024,
"kindString": "Property",
"flags": {
"isReadonly": true
},
"sources": [
{
"fileName": "src/handler/structures/wrapper.ts",
"line": 11,
"character": 13,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/wrapper.ts#L11"
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "boolean"
}
],
"name": "Client",
"qualifiedName": "Client",
"package": "discord.js"
}
},
{
"id": 194,
"name": "commands",
"kind": 1024,
"kindString": "Property",
"flags": {
"isReadonly": true
},
"sources": [
{
"fileName": "src/handler/structures/wrapper.ts",
"line": 15,
"character": 13,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/wrapper.ts#L15"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 193,
"name": "defaultPrefix",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"isReadonly": true
},
"sources": [
{
"fileName": "src/handler/structures/wrapper.ts",
"line": 14,
"character": 13,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/wrapper.ts#L14"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 195,
"name": "events",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"isReadonly": true
},
"sources": [
{
"fileName": "src/handler/structures/wrapper.ts",
"line": 16,
"character": 13,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/wrapper.ts#L16"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "array",
"elementType": {
"type": "reflection",
"declaration": {
"id": 196,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 198,
"name": "absPath",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/wrapper.ts",
"line": 19,
"character": 30,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/wrapper.ts#L19"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 197,
"name": "mod",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/wrapper.ts",
"line": 19,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/wrapper.ts#L19"
}
],
"type": {
"type": "reference",
"name": "EventModule"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
198,
197
]
}
],
"sources": [
{
"fileName": "src/handler/structures/wrapper.ts",
"line": 19,
"character": 10,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/wrapper.ts#L19"
}
]
}
}
},
{
"type": "reflection",
"declaration": {
"id": 199,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/wrapper.ts",
"line": 21,
"character": 11,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/wrapper.ts#L21"
}
],
"signatures": [
{
"id": 200,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "array",
"elementType": {
"type": "reflection",
"declaration": {
"id": 201,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 203,
"name": "absPath",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/wrapper.ts",
"line": 21,
"character": 37,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/wrapper.ts#L21"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 202,
"name": "mod",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/wrapper.ts",
"line": 21,
"character": 19,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/wrapper.ts#L21"
}
],
"type": {
"type": "reference",
"name": "EventModule"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
203,
202
]
}
],
"sources": [
{
"fileName": "src/handler/structures/wrapper.ts",
"line": 21,
"character": 17,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/wrapper.ts#L21"
}
]
}
}
}
}
]
}
}
]
}
},
{
"id": 192,
"name": "sernEmitter",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"isReadonly": true
},
"sources": [
{
"fileName": "src/handler/structures/wrapper.ts",
"line": 13,
"character": 13,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/wrapper.ts#L13"
}
],
"type": {
"type": "reference",
"id": 45,
"name": "SernEmitter"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
191,
194,
193,
195,
192
]
}
],
"sources": [
{
"fileName": "src/handler/structures/wrapper.ts",
"line": 9,
"character": 10,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/wrapper.ts#L9"
}
]
},
{
"id": 74,
"name": "Args",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 12,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L12"
}
],
"type": {
"type": "reference",
"id": 72,
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 75,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 77,
"name": "slash",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 12,
"character": 47,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L12"
}
],
"type": {
"type": "reference",
"id": 78,
"name": "SlashOptions"
}
},
{
"id": 76,
"name": "text",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 12,
"character": 31,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L12"
}
],
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
}
],
"groups": [
{
"title": "Properties",
"children": [
77,
76
]
}
],
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 12,
"character": 29,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L12"
}
]
}
}
],
"name": "ParseType"
}
},
{
"id": 288,
"name": "AutocompletePlugin",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 92,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L92"
}
],
"type": {
"type": "reference",
"id": 79,
"typeArguments": [
{
"type": "reference",
"name": "BaseModule"
},
{
"type": "reflection",
"declaration": {
"id": 289,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 291,
"name": "execute",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 96,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L96"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 292,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 96,
"character": 17,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L96"
}
],
"signatures": [
{
"id": 293,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 294,
"name": "autocmp",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"name": "AutocompleteInteraction",
"qualifiedName": "AutocompleteInteraction",
"package": "discord.js"
}
},
{
"id": 295,
"name": "controlller",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 240,
"name": "Controller"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "void"
},
{
"type": "intrinsic",
"name": "void"
}
],
"name": "Result",
"qualifiedName": "Result",
"package": "ts-results-es"
}
],
"name": "Awaitable",
"qualifiedName": "Awaitable",
"package": "discord.js"
}
}
]
}
}
},
{
"id": 290,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 95,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L95"
}
],
"type": {
"type": "reference",
"id": 235,
"name": "PluginType.Event"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
291,
290
]
}
],
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 94,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L94"
}
]
}
}
],
"name": "Override"
}
},
{
"id": 206,
"name": "BaseOptions",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Type that replaces autocomplete with "
},
{
"kind": "inline-tag",
"tag": "@link",
"text": "SernAutocompleteData",
"target": 207
}
]
},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 181,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L181"
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "ApplicationCommandChoicesData",
"qualifiedName": "ApplicationCommandChoicesData",
"package": "discord.js"
},
{
"type": "reference",
"name": "ApplicationCommandNonOptionsData",
"qualifiedName": "ApplicationCommandNonOptionsData",
"package": "discord.js"
},
{
"type": "reference",
"name": "ApplicationCommandChannelOptionData",
"qualifiedName": "ApplicationCommandChannelOptionData",
"package": "discord.js"
},
{
"type": "reference",
"name": "ApplicationCommandNumericOptionData",
"qualifiedName": "ApplicationCommandNumericOptionData",
"package": "discord.js"
},
{
"type": "reference",
"name": "ApplicationCommandAttachmentOption",
"qualifiedName": "ApplicationCommandAttachmentOption",
"package": "discord.js"
},
{
"type": "reference",
"id": 207,
"name": "SernAutocompleteData"
}
]
}
},
{
"id": 177,
"name": "BothCommand",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 55,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L55"
}
],
"type": {
"type": "reference",
"id": 79,
"typeArguments": [
{
"type": "reference",
"name": "BaseModule"
},
{
"type": "reflection",
"declaration": {
"id": 178,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 182,
"name": "alias",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 61,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L61"
}
],
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
},
{
"id": 184,
"name": "execute",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 63,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L63"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 185,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 63,
"character": 17,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L63"
}
],
"signatures": [
{
"id": 186,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 187,
"name": "ctx",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 120,
"name": "Context"
}
},
{
"id": 188,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 74,
"name": "Args"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "void"
},
{
"type": "intrinsic",
"name": "unknown"
}
]
}
],
"name": "Awaitable",
"qualifiedName": "Awaitable",
"package": "discord.js"
}
}
]
}
}
},
{
"id": 180,
"name": "onEvent",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 59,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L59"
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"id": 296,
"typeArguments": [
{
"type": "reference",
"id": 223,
"name": "CommandType.Both"
}
],
"name": "EventPlugin"
}
}
},
{
"id": 183,
"name": "options",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 62,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L62"
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"id": 204,
"name": "SernOptionsData"
}
}
},
{
"id": 181,
"name": "plugins",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 60,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L60"
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"id": 247,
"name": "CommandPlugin"
}
}
},
{
"id": 179,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 58,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L58"
}
],
"type": {
"type": "reference",
"id": 223,
"name": "CommandType.Both"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
182,
184,
180,
183,
181,
179
]
}
],
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 57,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L57"
}
]
}
}
],
"name": "Override"
}
},
{
"id": 333,
"name": "CommandModuleNoPlugins",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 145,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L145"
}
],
"type": {
"type": "mapped",
"parameter": "T",
"parameterType": {
"type": "reference",
"id": 220,
"name": "CommandType"
},
"templateType": {
"type": "reference",
"typeArguments": [
{
"type": "indexedAccess",
"indexType": {
"type": "reference",
"name": "T"
},
"objectType": {
"type": "reference",
"name": "CommandModuleDefs"
}
},
{
"type": "union",
"types": [
{
"type": "literal",
"value": "plugins"
},
{
"type": "literal",
"value": "onEvent"
}
]
}
],
"name": "Omit",
"qualifiedName": "Omit",
"package": "typescript"
}
}
},
{
"id": 347,
"name": "CommandModulePlugin",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 173,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L173"
}
],
"typeParameters": [
{
"id": 348,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
"id": 220,
"name": "CommandType"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"id": 296,
"typeArguments": [
{
"type": "reference",
"id": 348,
"name": "T"
}
],
"name": "EventPlugin"
},
{
"type": "reference",
"id": 247,
"typeArguments": [
{
"type": "reference",
"id": 348,
"name": "T"
}
],
"name": "CommandPlugin"
}
]
}
},
{
"id": 247,
"name": "CommandPlugin",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 40,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L40"
}
],
"typeParameters": [
{
"id": 259,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"name": "CommandModuleDefs"
}
},
"default": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"name": "CommandModuleDefs"
}
}
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"id": 259,
"name": "T"
},
"objectType": {
"type": "mapped",
"parameter": "K",
"parameterType": {
"type": "reference",
"id": 259,
"name": "T"
},
"templateType": {
"type": "reference",
"id": 79,
"typeArguments": [
{
"type": "reference",
"name": "BasePlugin"
},
{
"type": "reflection",
"declaration": {
"id": 248,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 250,
"name": "execute",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 45,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L45"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 251,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 45,
"character": 21,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L45"
}
],
"signatures": [
{
"id": 252,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 253,
"name": "wrapper",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 190,
"name": "Wrapper"
}
},
{
"id": 254,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 255,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 257,
"name": "absPath",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 49,
"character": 20,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L49"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 256,
"name": "mod",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 48,
"character": 20,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L48"
}
],
"type": {
"type": "reference",
"id": 82,
"typeArguments": [
{
"type": "indexedAccess",
"indexType": {
"type": "reference",
"id": 259,
"name": "T"
},
"objectType": {
"type": "reference",
"name": "CommandModuleDefs"
}
},
{
"type": "union",
"types": [
{
"type": "literal",
"value": "name"
},
{
"type": "literal",
"value": "description"
}
]
}
],
"name": "DefinitelyDefined"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
257,
256
]
}
],
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 47,
"character": 25,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L47"
}
]
}
}
},
{
"id": 258,
"name": "controller",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 240,
"name": "Controller"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "void"
},
{
"type": "intrinsic",
"name": "void"
}
],
"name": "Result",
"qualifiedName": "Result",
"package": "ts-results-es"
}
],
"name": "Awaitable",
"qualifiedName": "Awaitable",
"package": "discord.js"
}
}
]
}
}
},
{
"id": 249,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 44,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L44"
}
],
"type": {
"type": "reference",
"id": 234,
"name": "PluginType.Command"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
250,
249
]
}
],
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 43,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L43"
}
]
}
}
],
"name": "Override"
}
}
}
},
{
"id": 103,
"name": "DefinedCommandModule",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 43,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L43"
}
],
"type": {
"type": "reference",
"id": 82,
"typeArguments": [
{
"type": "reference",
"name": "CommandModule"
},
{
"type": "union",
"types": [
{
"type": "literal",
"value": "name"
},
{
"type": "literal",
"value": "description"
}
]
}
],
"name": "DefinitelyDefined"
}
},
{
"id": 104,
"name": "DefinedEventModule",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 44,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L44"
}
],
"type": {
"type": "reference",
"id": 82,
"typeArguments": [
{
"type": "reference",
"name": "EventModule"
},
{
"type": "union",
"types": [
{
"type": "literal",
"value": "name"
},
{
"type": "literal",
"value": "description"
}
]
}
],
"name": "DefinitelyDefined"
}
},
{
"id": 102,
"name": "DefinedModule",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "After modules are transformed, name and description are given default values if none\r\nare provided to Module. This type represents that transformation"
}
]
},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 42,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L42"
}
],
"type": {
"type": "reference",
"id": 82,
"typeArguments": [
{
"type": "reference",
"id": 189,
"name": "Module"
},
{
"type": "union",
"types": [
{
"type": "literal",
"value": "name"
},
{
"type": "literal",
"value": "description"
}
]
}
],
"name": "DefinitelyDefined"
}
},
{
"id": 82,
"name": "DefinitelyDefined",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 19,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L19"
}
],
"typeParameters": [
{
"id": 83,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
},
{
"id": 84,
"name": "K",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"id": 83,
"name": "T"
}
},
"default": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"id": 83,
"name": "T"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "mapped",
"parameter": "L",
"parameterType": {
"type": "reference",
"id": 84,
"name": "K"
},
"templateType": {
"type": "conditional",
"checkType": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"name": "L"
},
"objectType": {
"type": "reference",
"id": 83,
"name": "T"
}
},
"extendsType": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "unknown"
}
],
"name": "Record",
"qualifiedName": "Record",
"package": "typescript"
},
"trueType": {
"type": "reference",
"id": 82,
"typeArguments": [
{
"type": "indexedAccess",
"indexType": {
"type": "reference",
"name": "L"
},
"objectType": {
"type": "reference",
"id": 83,
"name": "T"
}
},
{
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"name": "L"
},
"objectType": {
"type": "reference",
"id": 83,
"name": "T"
}
}
}
],
"name": "DefinitelyDefined"
},
"falseType": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"name": "L"
},
"objectType": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 83,
"name": "T"
}
],
"name": "Required",
"qualifiedName": "Required",
"package": "typescript"
}
}
},
"optionalModifier": "-"
},
{
"type": "reference",
"id": 83,
"name": "T"
}
]
}
},
{
"id": 260,
"name": "DiscordEmitterPlugin",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 57,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L57"
}
],
"type": {
"type": "reference",
"id": 79,
"typeArguments": [
{
"type": "reference",
"name": "BasePlugin"
},
{
"type": "reflection",
"declaration": {
"id": 261,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 263,
"name": "execute",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 61,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L61"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 264,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 61,
"character": 17,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L61"
}
],
"signatures": [
{
"id": 265,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 266,
"name": "wrapper",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"name": "Client",
"qualifiedName": "Client",
"package": "discord.js"
}
},
{
"id": 267,
"name": "module",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 82,
"typeArguments": [
{
"type": "reference",
"name": "DiscordEventCommand"
},
{
"type": "union",
"types": [
{
"type": "literal",
"value": "name"
},
{
"type": "literal",
"value": "description"
}
]
}
],
"name": "DefinitelyDefined"
}
},
{
"id": 268,
"name": "controller",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 240,
"name": "Controller"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "void"
},
{
"type": "intrinsic",
"name": "void"
}
],
"name": "Result",
"qualifiedName": "Result",
"package": "ts-results-es"
}
],
"name": "Awaitable",
"qualifiedName": "Awaitable",
"package": "discord.js"
}
}
]
}
}
},
{
"id": 262,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 60,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L60"
}
],
"type": {
"type": "reference",
"id": 234,
"name": "PluginType.Command"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
263,
262
]
}
],
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 59,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L59"
}
]
}
}
],
"name": "Override"
}
},
{
"id": 323,
"name": "DiscordEventPlugin",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 136,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L136"
}
],
"typeParameters": [
{
"id": 332,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"name": "ClientEvents",
"qualifiedName": "ClientEvents",
"package": "discord.js"
}
},
"default": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"name": "ClientEvents",
"qualifiedName": "ClientEvents",
"package": "discord.js"
}
}
}
],
"type": {
"type": "reference",
"id": 79,
"typeArguments": [
{
"type": "reference",
"name": "BasePlugin"
},
{
"type": "reflection",
"declaration": {
"id": 324,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 327,
"name": "execute",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 141,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L141"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 328,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 141,
"character": 17,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L141"
}
],
"signatures": [
{
"id": 329,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 330,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"id": 332,
"name": "T"
},
"objectType": {
"type": "reference",
"name": "ClientEvents",
"qualifiedName": "ClientEvents",
"package": "discord.js"
}
}
},
{
"id": 331,
"name": "controller",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 240,
"name": "Controller"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "void"
},
{
"type": "intrinsic",
"name": "void"
}
],
"name": "Result",
"qualifiedName": "Result",
"package": "ts-results-es"
}
],
"name": "Awaitable",
"qualifiedName": "Awaitable",
"package": "discord.js"
}
}
]
}
}
},
{
"id": 325,
"name": "name",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 139,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L139"
}
],
"type": {
"type": "reference",
"id": 332,
"name": "T"
}
},
{
"id": 326,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 140,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L140"
}
],
"type": {
"type": "reference",
"id": 235,
"name": "PluginType.Event"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
327,
325,
326
]
}
],
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 138,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L138"
}
]
}
}
],
"name": "Override"
}
},
{
"id": 85,
"name": "EventInput",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 25,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L25"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "array",
"elementType": {
"type": "reflection",
"declaration": {
"id": 86,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 88,
"name": "absPath",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 27,
"character": 26,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L27"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 87,
"name": "mod",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 27,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L27"
}
],
"type": {
"type": "reference",
"name": "EventModule"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
88,
87
]
}
],
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 27,
"character": 6,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L27"
}
]
}
}
},
{
"type": "reflection",
"declaration": {
"id": 89,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 28,
"character": 7,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L28"
}
],
"signatures": [
{
"id": 90,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "array",
"elementType": {
"type": "reflection",
"declaration": {
"id": 91,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 93,
"name": "absPath",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 28,
"character": 33,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L28"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 92,
"name": "mod",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 28,
"character": 15,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L28"
}
],
"type": {
"type": "reference",
"name": "EventModule"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
93,
92
]
}
],
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 28,
"character": 13,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L28"
}
]
}
}
}
}
]
}
}
]
}
},
{
"id": 340,
"name": "EventModuleCommandPluginDefs",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Event Module Command Plugins"
}
]
},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 163,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L163"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 341,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 342,
"name": "1",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 164,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L164"
}
],
"type": {
"type": "reference",
"id": 260,
"name": "DiscordEmitterPlugin"
}
},
{
"id": 343,
"name": "2",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 165,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L165"
}
],
"type": {
"type": "reference",
"id": 279,
"name": "SernEmitterPlugin"
}
},
{
"id": 344,
"name": "3",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 166,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L166"
}
],
"type": {
"type": "reference",
"id": 269,
"name": "ExternalEmitterPlugin"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
342,
343,
344
]
}
],
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 163,
"character": 43,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L163"
}
]
}
}
},
{
"id": 335,
"name": "EventModuleEventPluginDefs",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Event Module Event Plugins"
}
]
},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 154,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L154"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 336,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 337,
"name": "1",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 155,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L155"
}
],
"type": {
"type": "reference",
"id": 323,
"name": "DiscordEventPlugin"
}
},
{
"id": 338,
"name": "2",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 156,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L156"
}
],
"type": {
"type": "reference",
"id": 305,
"name": "SernEventPlugin"
}
},
{
"id": 339,
"name": "3",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 157,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L157"
}
],
"type": {
"type": "reference",
"id": 315,
"name": "ExternalEventPlugin"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
337,
338,
339
]
}
],
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 154,
"character": 41,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L154"
}
]
}
}
},
{
"id": 345,
"name": "EventModulePlugin",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 169,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L169"
}
],
"typeParameters": [
{
"id": 346,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
"id": 229,
"name": "EventType"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "indexedAccess",
"indexType": {
"type": "reference",
"id": 346,
"name": "T"
},
"objectType": {
"type": "reference",
"id": 335,
"name": "EventModuleEventPluginDefs"
}
},
{
"type": "indexedAccess",
"indexType": {
"type": "reference",
"id": 346,
"name": "T"
},
"objectType": {
"type": "reference",
"id": 340,
"name": "EventModuleCommandPluginDefs"
}
}
]
}
},
{
"id": 334,
"name": "EventModulesNoPlugins",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 148,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L148"
}
],
"type": {
"type": "mapped",
"parameter": "T",
"parameterType": {
"type": "reference",
"id": 229,
"name": "EventType"
},
"templateType": {
"type": "reference",
"typeArguments": [
{
"type": "indexedAccess",
"indexType": {
"type": "reference",
"name": "T"
},
"objectType": {
"type": "reference",
"name": "EventModuleDefs"
}
},
{
"type": "union",
"types": [
{
"type": "literal",
"value": "plugins"
},
{
"type": "literal",
"value": "onEvent"
}
]
}
],
"name": "Omit",
"qualifiedName": "Omit",
"package": "typescript"
}
}
},
{
"id": 296,
"name": "EventPlugin",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 103,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L103"
}
],
"typeParameters": [
{
"id": 304,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"name": "CommandModuleDefs"
}
},
"default": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"name": "CommandModuleDefs"
}
}
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"id": 304,
"name": "T"
},
"objectType": {
"type": "mapped",
"parameter": "K",
"parameterType": {
"type": "reference",
"id": 304,
"name": "T"
},
"templateType": {
"type": "reference",
"id": 79,
"typeArguments": [
{
"type": "reference",
"name": "BasePlugin"
},
{
"type": "reflection",
"declaration": {
"id": 297,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 299,
"name": "execute",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 108,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L108"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 300,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 108,
"character": 21,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L108"
}
],
"signatures": [
{
"id": 301,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 302,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "indexedAccess",
"indexType": {
"type": "literal",
"value": "execute"
},
"objectType": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"name": "K"
},
"objectType": {
"type": "reference",
"name": "CommandModuleDefs"
}
}
}
],
"name": "Parameters",
"qualifiedName": "Parameters",
"package": "typescript"
}
},
{
"id": 303,
"name": "controller",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 240,
"name": "Controller"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "void"
},
{
"type": "intrinsic",
"name": "void"
}
],
"name": "Result",
"qualifiedName": "Result",
"package": "ts-results-es"
}
],
"name": "Awaitable",
"qualifiedName": "Awaitable",
"package": "discord.js"
}
}
]
}
}
},
{
"id": 298,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 107,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L107"
}
],
"type": {
"type": "reference",
"id": 235,
"name": "PluginType.Event"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
299,
298
]
}
],
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 106,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L106"
}
]
}
}
],
"name": "Override"
}
}
}
},
{
"id": 269,
"name": "ExternalEmitterPlugin",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 68,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L68"
}
],
"typeParameters": [
{
"id": 278,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
"name": "EventEmitter",
"qualifiedName": "EventEmitter",
"package": "@types/node"
},
"default": {
"type": "reference",
"name": "EventEmitter",
"qualifiedName": "EventEmitter",
"package": "@types/node"
}
}
],
"type": {
"type": "reference",
"id": 79,
"typeArguments": [
{
"type": "reference",
"name": "BasePlugin"
},
{
"type": "reflection",
"declaration": {
"id": 270,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 272,
"name": "execute",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 72,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L72"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 273,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 72,
"character": 17,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L72"
}
],
"signatures": [
{
"id": 274,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 275,
"name": "wrapper",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 278,
"name": "T"
}
},
{
"id": 276,
"name": "module",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 82,
"typeArguments": [
{
"type": "reference",
"name": "ExternalEventCommand"
},
{
"type": "union",
"types": [
{
"type": "literal",
"value": "name"
},
{
"type": "literal",
"value": "description"
}
]
}
],
"name": "DefinitelyDefined"
}
},
{
"id": 277,
"name": "controller",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 240,
"name": "Controller"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "void"
},
{
"type": "intrinsic",
"name": "void"
}
],
"name": "Result",
"qualifiedName": "Result",
"package": "ts-results-es"
}
],
"name": "Awaitable",
"qualifiedName": "Awaitable",
"package": "discord.js"
}
}
]
}
}
},
{
"id": 271,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 71,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L71"
}
],
"type": {
"type": "reference",
"id": 234,
"name": "PluginType.Command"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
272,
271
]
}
],
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 70,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L70"
}
]
}
}
],
"name": "Override"
}
},
{
"id": 315,
"name": "ExternalEventPlugin",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 128,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L128"
}
],
"type": {
"type": "reference",
"id": 79,
"typeArguments": [
{
"type": "reference",
"name": "BasePlugin"
},
{
"type": "reflection",
"declaration": {
"id": 316,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 318,
"name": "execute",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 132,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L132"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 319,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 132,
"character": 17,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L132"
}
],
"signatures": [
{
"id": 320,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 321,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "unknown"
}
}
},
{
"id": 322,
"name": "controller",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 240,
"name": "Controller"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "void"
},
{
"type": "intrinsic",
"name": "void"
}
],
"name": "Result",
"qualifiedName": "Result",
"package": "ts-results-es"
}
],
"name": "Awaitable",
"qualifiedName": "Awaitable",
"package": "discord.js"
}
}
]
}
}
},
{
"id": 317,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 131,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L131"
}
],
"type": {
"type": "reference",
"id": 235,
"name": "PluginType.Event"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
318,
317
]
}
],
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 130,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L130"
}
]
}
}
],
"name": "Override"
}
},
{
"id": 349,
"name": "InputCommandModule",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "User inputs this type. Sern processes behind the scenes for better usage"
}
]
},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 178,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L178"
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"id": 220,
"name": "CommandType"
},
"objectType": {
"type": "mapped",
"parameter": "T",
"parameterType": {
"type": "reference",
"id": 220,
"name": "CommandType"
},
"templateType": {
"type": "intersection",
"types": [
{
"type": "indexedAccess",
"indexType": {
"type": "reference",
"name": "T"
},
"objectType": {
"type": "reference",
"id": 333,
"name": "CommandModuleNoPlugins"
}
},
{
"type": "reflection",
"declaration": {
"id": 350,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 351,
"name": "plugins",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 179,
"character": 54,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L179"
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"id": 347,
"typeArguments": [
{
"type": "reference",
"name": "T"
}
],
"name": "CommandModulePlugin"
}
}
}
],
"groups": [
{
"title": "Properties",
"children": [
351
]
}
],
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 179,
"character": 52,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L179"
}
]
}
}
]
}
}
}
},
{
"id": 352,
"name": "InputEventModule",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 182,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L182"
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"id": 229,
"name": "EventType"
},
"objectType": {
"type": "mapped",
"parameter": "T",
"parameterType": {
"type": "reference",
"id": 229,
"name": "EventType"
},
"templateType": {
"type": "intersection",
"types": [
{
"type": "indexedAccess",
"indexType": {
"type": "reference",
"name": "T"
},
"objectType": {
"type": "reference",
"id": 334,
"name": "EventModulesNoPlugins"
}
},
{
"type": "reflection",
"declaration": {
"id": 353,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 354,
"name": "plugins",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 183,
"character": 51,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L183"
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"id": 345,
"typeArguments": [
{
"type": "reference",
"name": "T"
}
],
"name": "EventModulePlugin"
}
}
}
],
"groups": [
{
"title": "Properties",
"children": [
354
]
}
],
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 183,
"character": 49,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L183"
}
]
}
}
]
}
}
}
},
{
"id": 189,
"name": "Module",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 141,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L141"
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "CommandModule"
},
{
"type": "reference",
"name": "EventModule"
}
]
}
},
{
"id": 70,
"name": "Nullish",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 5,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L5"
}
],
"typeParameters": [
{
"id": 71,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"id": 71,
"name": "T"
},
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "literal",
"value": null
}
]
}
},
{
"id": 79,
"name": "Override",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 17,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L17"
}
],
"typeParameters": [
{
"id": 80,
"name": "T1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
},
{
"id": 81,
"name": "T2",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 80,
"name": "T1"
},
{
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"id": 81,
"name": "T2"
}
}
],
"name": "Omit",
"qualifiedName": "Omit",
"package": "typescript"
},
{
"type": "reference",
"id": 81,
"name": "T2"
}
]
}
},
{
"id": 72,
"name": "ParseType",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 8,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L8"
}
],
"typeParameters": [
{
"id": 73,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
}
],
"type": {
"type": "indexedAccess",
"indexType": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"id": 73,
"name": "T"
}
},
"objectType": {
"type": "mapped",
"parameter": "K",
"parameterType": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"id": 73,
"name": "T"
}
},
"templateType": {
"type": "conditional",
"checkType": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"name": "K"
},
"objectType": {
"type": "reference",
"id": 73,
"name": "T"
}
},
"extendsType": {
"type": "intrinsic",
"name": "unknown"
},
"trueType": {
"type": "tuple",
"elements": [
{
"type": "named-tuple-member",
"name": "k",
"isOptional": false,
"element": {
"type": "reference",
"name": "K"
}
},
{
"type": "named-tuple-member",
"name": "args",
"isOptional": false,
"element": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"name": "K"
},
"objectType": {
"type": "reference",
"id": 73,
"name": "T"
}
}
}
]
},
"falseType": {
"type": "intrinsic",
"name": "never"
}
}
}
}
},
{
"id": 105,
"name": "Payload",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 45,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L45"
}
],
"type": {
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 106,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 108,
"name": "module",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 46,
"character": 35,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L46"
}
],
"type": {
"type": "reference",
"id": 189,
"name": "Module"
}
},
{
"id": 107,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 46,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L46"
}
],
"type": {
"type": "reference",
"id": 237,
"name": "PayloadType.Success"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
108,
107
]
}
],
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 46,
"character": 6,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L46"
}
]
}
},
{
"type": "reflection",
"declaration": {
"id": 109,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 111,
"name": "module",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 47,
"character": 35,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L47"
}
],
"type": {
"type": "reference",
"id": 189,
"name": "Module"
}
},
{
"id": 112,
"name": "reason",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 47,
"character": 52,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L47"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reference",
"name": "Error",
"qualifiedName": "Error",
"package": "typescript"
}
]
}
},
{
"id": 110,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 47,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L47"
}
],
"type": {
"type": "reference",
"id": 238,
"name": "PayloadType.Failure"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
111,
112,
110
]
}
],
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 47,
"character": 6,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L47"
}
]
}
}
]
}
},
{
"id": 119,
"name": "ReplyOptions",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 55,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L55"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"name": "InteractionReplyOptions",
"qualifiedName": "InteractionReplyOptions",
"package": "discord.js"
},
{
"type": "literal",
"value": "fetchReply"
}
],
"name": "Omit",
"qualifiedName": "Omit",
"package": "typescript"
},
{
"type": "reference",
"name": "MessageReplyOptions",
"qualifiedName": "MessageReplyOptions",
"package": "discord.js"
}
]
}
},
{
"id": 207,
"name": "SernAutocompleteData",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 166,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L166"
}
],
"type": {
"type": "reference",
"id": 79,
"typeArguments": [
{
"type": "reference",
"name": "BaseApplicationCommandOptionsData",
"qualifiedName": "BaseApplicationCommandOptionsData",
"package": "discord.js"
},
{
"type": "reflection",
"declaration": {
"id": 208,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 209,
"name": "autocomplete",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 169,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L169"
}
],
"type": {
"type": "literal",
"value": true
}
},
{
"id": 211,
"name": "command",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 174,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L174"
}
],
"type": {
"type": "reference",
"name": "AutocompleteCommand"
}
},
{
"id": 210,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 170,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L170"
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "ApplicationCommandOptionType.String",
"qualifiedName": "ApplicationCommandOptionType.String",
"package": "discord-api-types"
},
{
"type": "reference",
"name": "ApplicationCommandOptionType.Number",
"qualifiedName": "ApplicationCommandOptionType.Number",
"package": "discord-api-types"
},
{
"type": "reference",
"name": "ApplicationCommandOptionType.Integer",
"qualifiedName": "ApplicationCommandOptionType.Integer",
"package": "discord-api-types"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"children": [
209,
211,
210
]
}
],
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 168,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L168"
}
]
}
}
],
"name": "Override"
}
},
{
"id": 279,
"name": "SernEmitterPlugin",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 80,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L80"
}
],
"type": {
"type": "reference",
"id": 79,
"typeArguments": [
{
"type": "reference",
"name": "BasePlugin"
},
{
"type": "reflection",
"declaration": {
"id": 280,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 282,
"name": "execute",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 84,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L84"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 283,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 84,
"character": 17,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L84"
}
],
"signatures": [
{
"id": 284,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 285,
"name": "wrapper",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 45,
"name": "SernEmitter"
}
},
{
"id": 286,
"name": "module",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 82,
"typeArguments": [
{
"type": "reference",
"name": "SernEventCommand"
},
{
"type": "union",
"types": [
{
"type": "literal",
"value": "name"
},
{
"type": "literal",
"value": "description"
}
]
}
],
"name": "DefinitelyDefined"
}
},
{
"id": 287,
"name": "controller",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 240,
"name": "Controller"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "void"
},
{
"type": "intrinsic",
"name": "void"
}
],
"name": "Result",
"qualifiedName": "Result",
"package": "ts-results-es"
}
],
"name": "Awaitable",
"qualifiedName": "Awaitable",
"package": "discord.js"
}
}
]
}
}
},
{
"id": 281,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 83,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L83"
}
],
"type": {
"type": "reference",
"id": 234,
"name": "PluginType.Command"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
282,
281
]
}
],
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 82,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L82"
}
]
}
}
],
"name": "Override"
}
},
{
"id": 305,
"name": "SernEventPlugin",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 116,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L116"
}
],
"typeParameters": [
{
"id": 314,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"id": 113,
"name": "SernEventsMapping"
}
},
"default": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "reference",
"id": 113,
"name": "SernEventsMapping"
}
}
}
],
"type": {
"type": "reference",
"id": 79,
"typeArguments": [
{
"type": "reference",
"name": "BasePlugin"
},
{
"type": "reflection",
"declaration": {
"id": 306,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 309,
"name": "execute",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 121,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L121"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 310,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 121,
"character": 17,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L121"
}
],
"signatures": [
{
"id": 311,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 312,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "indexedAccess",
"indexType": {
"type": "reference",
"id": 314,
"name": "T"
},
"objectType": {
"type": "reference",
"id": 113,
"name": "SernEventsMapping"
}
}
},
{
"id": 313,
"name": "controller",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 240,
"name": "Controller"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "void"
},
{
"type": "intrinsic",
"name": "void"
}
],
"name": "Result",
"qualifiedName": "Result",
"package": "ts-results-es"
}
],
"name": "Awaitable",
"qualifiedName": "Awaitable",
"package": "discord.js"
}
}
]
}
}
},
{
"id": 307,
"name": "name",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 119,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L119"
}
],
"type": {
"type": "reference",
"id": 314,
"name": "T"
}
},
{
"id": 308,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 120,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L120"
}
],
"type": {
"type": "reference",
"id": 235,
"name": "PluginType.Event"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
309,
307,
308
]
}
],
"sources": [
{
"fileName": "src/handler/plugins/plugin.ts",
"line": 118,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/plugins/plugin.ts#L118"
}
]
}
}
],
"name": "Override"
}
},
{
"id": 113,
"name": "SernEventsMapping",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 48,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L48"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 114,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 117,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 51,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L51"
}
],
"type": {
"type": "tuple",
"elements": [
{
"type": "reference",
"id": 105,
"name": "Payload"
}
]
}
},
{
"id": 116,
"name": "module.activate",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 50,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L50"
}
],
"type": {
"type": "tuple",
"elements": [
{
"type": "reference",
"id": 105,
"name": "Payload"
}
]
}
},
{
"id": 115,
"name": "module.register",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 49,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L49"
}
],
"type": {
"type": "tuple",
"elements": [
{
"type": "reference",
"id": 105,
"name": "Payload"
}
]
}
},
{
"id": 118,
"name": "warning",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 52,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L52"
}
],
"type": {
"type": "tuple",
"elements": [
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"children": [
117,
116,
115,
118
]
}
],
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 48,
"character": 32,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L48"
}
]
}
}
},
{
"id": 204,
"name": "SernOptionsData",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 205,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L205"
}
],
"typeParameters": [
{
"id": 205,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
"name": "ApplicationCommandOptionData",
"qualifiedName": "ApplicationCommandOptionData",
"package": "discord.js"
},
"default": {
"type": "reference",
"name": "ApplicationCommandOptionData",
"qualifiedName": "ApplicationCommandOptionData",
"package": "discord.js"
}
}
],
"type": {
"type": "conditional",
"checkType": {
"type": "reference",
"id": 205,
"name": "U"
},
"extendsType": {
"type": "reference",
"name": "ApplicationCommandSubCommandData",
"qualifiedName": "ApplicationCommandSubCommandData",
"package": "discord.js"
},
"trueType": {
"type": "reference",
"id": 212,
"name": "SernSubCommandData"
},
"falseType": {
"type": "conditional",
"checkType": {
"type": "reference",
"id": 205,
"name": "U"
},
"extendsType": {
"type": "reference",
"name": "ApplicationCommandSubGroupData",
"qualifiedName": "ApplicationCommandSubGroupData",
"package": "discord.js"
},
"trueType": {
"type": "reference",
"id": 216,
"name": "SernSubCommandGroupData"
},
"falseType": {
"type": "reference",
"id": 206,
"name": "BaseOptions"
}
}
}
},
{
"id": 212,
"name": "SernSubCommandData",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 189,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L189"
}
],
"type": {
"type": "reference",
"id": 79,
"typeArguments": [
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"name": "BaseApplicationCommandOptionsData",
"qualifiedName": "BaseApplicationCommandOptionsData",
"package": "discord.js"
},
{
"type": "literal",
"value": "required"
}
],
"name": "Omit",
"qualifiedName": "Omit",
"package": "typescript"
},
{
"type": "reflection",
"declaration": {
"id": 213,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 215,
"name": "options",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 193,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L193"
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"id": 206,
"name": "BaseOptions"
}
}
},
{
"id": 214,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 192,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L192"
}
],
"type": {
"type": "reference",
"name": "ApplicationCommandOptionType.Subcommand",
"qualifiedName": "ApplicationCommandOptionType.Subcommand",
"package": "discord-api-types"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
215,
214
]
}
],
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 191,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L191"
}
]
}
}
],
"name": "Override"
}
},
{
"id": 216,
"name": "SernSubCommandGroupData",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 197,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L197"
}
],
"type": {
"type": "reference",
"id": 79,
"typeArguments": [
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"name": "BaseApplicationCommandOptionsData",
"qualifiedName": "BaseApplicationCommandOptionsData",
"package": "discord.js"
},
{
"type": "literal",
"value": "required"
}
],
"name": "Omit",
"qualifiedName": "Omit",
"package": "typescript"
},
{
"type": "reflection",
"declaration": {
"id": 217,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 219,
"name": "options",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 201,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L201"
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"id": 212,
"name": "SernSubCommandData"
}
}
},
{
"id": 218,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 200,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L200"
}
],
"type": {
"type": "reference",
"name": "ApplicationCommandOptionType.SubcommandGroup",
"qualifiedName": "ApplicationCommandOptionType.SubcommandGroup",
"package": "discord-api-types"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
219,
218
]
}
],
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 199,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L199"
}
]
}
}
],
"name": "Override"
}
},
{
"id": 155,
"name": "SlashCommand",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 44,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L44"
}
],
"type": {
"type": "reference",
"id": 79,
"typeArguments": [
{
"type": "reference",
"name": "BaseModule"
},
{
"type": "reflection",
"declaration": {
"id": 156,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 161,
"name": "execute",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 51,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L51"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 162,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 51,
"character": 17,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L51"
}
],
"signatures": [
{
"id": 163,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 164,
"name": "ctx",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 120,
"name": "Context"
}
},
{
"id": 165,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "tuple",
"elements": [
{
"type": "literal",
"value": "slash"
},
{
"type": "reference",
"id": 78,
"name": "SlashOptions"
}
]
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "void"
},
{
"type": "intrinsic",
"name": "unknown"
}
]
}
],
"name": "Awaitable",
"qualifiedName": "Awaitable",
"package": "discord.js"
}
}
]
}
}
},
{
"id": 158,
"name": "onEvent",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 48,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L48"
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"id": 296,
"typeArguments": [
{
"type": "reference",
"id": 222,
"name": "CommandType.Slash"
}
],
"name": "EventPlugin"
}
}
},
{
"id": 160,
"name": "options",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 50,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L50"
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"id": 204,
"name": "SernOptionsData"
}
}
},
{
"id": 159,
"name": "plugins",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 49,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L49"
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"id": 247,
"name": "CommandPlugin"
}
}
},
{
"id": 157,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 47,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L47"
}
],
"type": {
"type": "reference",
"id": 222,
"name": "CommandType.Slash"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
161,
158,
160,
159,
157
]
}
],
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 46,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L46"
}
]
}
}
],
"name": "Override"
}
},
{
"id": 78,
"name": "SlashOptions",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 14,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L14"
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"name": "CommandInteractionOptionResolver",
"qualifiedName": "CommandInteractionOptionResolver",
"package": "discord.js"
},
{
"type": "union",
"types": [
{
"type": "literal",
"value": "getMessage"
},
{
"type": "literal",
"value": "getFocused"
}
]
}
],
"name": "Omit",
"qualifiedName": "Omit",
"package": "typescript"
}
},
{
"id": 94,
"name": "SpreadParams",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 34,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L34"
}
],
"typeParameters": [
{
"id": 101,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 98,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 34,
"character": 35,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L34"
}
],
"signatures": [
{
"id": 99,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 100,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true
},
"type": {
"type": "intrinsic",
"name": "never"
}
}
],
"type": {
"type": "intrinsic",
"name": "unknown"
}
}
]
}
}
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 95,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "src/types/handler.ts",
"line": 34,
"character": 66,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/types/handler.ts#L34"
}
],
"signatures": [
{
"id": 96,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Turns a function with a union of array of args into a single union\r\n [ T , V , B ] | [ A ] => T | V | B | A"
}
]
},
"parameters": [
{
"id": 97,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "indexedAccess",
"indexType": {
"type": "intrinsic",
"name": "number"
},
"objectType": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 101,
"name": "T"
}
],
"name": "Parameters",
"qualifiedName": "Parameters",
"package": "typescript"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "unknown"
}
}
]
}
}
},
{
"id": 166,
"name": "TextCommand",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 33,
"character": 12,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L33"
}
],
"type": {
"type": "reference",
"id": 79,
"typeArguments": [
{
"type": "reference",
"name": "BaseModule"
},
{
"type": "reflection",
"declaration": {
"id": 167,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 171,
"name": "alias",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 39,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L39"
}
],
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
},
{
"id": 172,
"name": "execute",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 40,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L40"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 173,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 40,
"character": 17,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L40"
}
],
"signatures": [
{
"id": 174,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 175,
"name": "ctx",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 120,
"name": "Context"
}
},
{
"id": 176,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "tuple",
"elements": [
{
"type": "literal",
"value": "text"
},
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
]
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "void"
},
{
"type": "intrinsic",
"name": "unknown"
}
]
}
],
"name": "Awaitable",
"qualifiedName": "Awaitable",
"package": "discord.js"
}
}
]
}
}
},
{
"id": 169,
"name": "onEvent",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 37,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L37"
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"id": 296,
"typeArguments": [
{
"type": "reference",
"id": 221,
"name": "CommandType.Text"
}
],
"name": "EventPlugin"
}
}
},
{
"id": 170,
"name": "plugins",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 38,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L38"
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"id": 247,
"name": "CommandPlugin"
}
}
},
{
"id": 168,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 36,
"character": 8,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L36"
}
],
"type": {
"type": "reference",
"id": 221,
"name": "CommandType.Text"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
171,
172,
169,
170,
168
]
}
],
"sources": [
{
"fileName": "src/handler/structures/module.ts",
"line": 35,
"character": 4,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/structures/module.ts#L35"
}
]
}
}
],
"name": "Override"
}
},
{
"id": 4,
"name": "commandModule",
"kind": 64,
"kindString": "Function",
"flags": {},
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 91,
"character": 16,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L91"
}
],
"signatures": [
{
"id": 5,
"name": "commandModule",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The wrapper function to define command modules for sern"
}
]
},
"parameters": [
{
"id": 6,
"name": "mod",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 349,
"name": "InputCommandModule"
}
}
],
"type": {
"type": "reference",
"name": "CommandModule"
}
}
]
},
{
"id": 1,
"name": "eventModule",
"kind": 64,
"kindString": "Function",
"flags": {},
"sources": [
{
"fileName": "src/handler/sern.ts",
"line": 112,
"character": 16,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/handler/sern.ts#L112"
}
],
"signatures": [
{
"id": 2,
"name": "eventModule",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The wrapper function to define event modules for sern"
}
]
},
"parameters": [
{
"id": 3,
"name": "mod",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"id": 352,
"name": "InputEventModule"
}
}
],
"type": {
"type": "reference",
"name": "EventModule"
}
}
]
}
],
"groups": [
{
"title": "Namespaces",
"children": [
25
]
},
{
"title": "Enumerations",
"children": [
220,
229,
236,
233
]
},
{
"title": "Classes",
"children": [
16,
120,
7,
45
]
},
{
"title": "Interfaces",
"children": [
240,
190
]
},
{
"title": "Type Aliases",
"children": [
74,
288,
206,
177,
333,
347,
247,
103,
104,
102,
82,
260,
323,
85,
340,
335,
345,
334,
296,
269,
315,
349,
352,
189,
70,
79,
72,
105,
119,
207,
279,
305,
113,
204,
212,
216,
155,
78,
94,
166
]
},
{
"title": "Functions",
"children": [
4,
1
]
}
],
"sources": [
{
"fileName": "src/index.ts",
"line": 1,
"character": 0,
"url": "https://github.com/sern-handler/handler/blob/5028886/src/index.ts#L1"
}
]
}