tldr
- Description:
TLDR Command
- Source:
Methods
(async, static) getSummaryHTML(summary) → {Promise.<Response>}
- Description:
Get summary from Ya300
- Source:
Parameters:
Name | Type | Description |
---|---|---|
summary |
string | url |
Returns:
- Type
- Promise.<Response>
(async, static) getSummaryURL() → {Promise.<Response>}
- Description:
Request summary from Ya300
- Source:
Parameters:
Type | Description |
---|---|
Object |
Returns:
- Type
- Promise.<Response>
(async, static) handler(ctx, interaction)
- Description:
TLDR Command Handler
- Source:
Parameters:
Name | Type | Description |
---|---|---|
ctx |
||
interaction |
(async, static) parseSummary(response) → {SummaryJSON}
- Description:
Parse HTML summary into a JSON
- Source:
Parameters:
Name | Type | Description |
---|---|---|
response |
Response |
Returns:
- Type
- SummaryJSON