mirror of
https://github.com/reality/dbot.git
synced 2024-12-05 02:19:26 +01:00
b415ee086f
## Queries the **Online Encyclopedia of Integer Sequences** for interesting number sequences. #### Sequence by example: ``` ~sequence 1 2 3 4 5 ``` #### Sequence by ID number ``` ~sequence a27 ``` #### Sequence by keywords ``` ~sequence positive integers ``` In all cases the following is returned: ``` [oeis] A000027: "The positive integers." - (1, 2, 3, 4, 5, 6, 7, 8, ...) https://oeis.org/A000027 ```
11 lines
262 B
JSON
11 lines
262 B
JSON
{
|
|
"output_sequence": {
|
|
"en": "{a6}: \"{name}\" - ({sample}) {url}"
|
|
},
|
|
"sequence_not_found": {
|
|
"en": "The sequence could not be identified."
|
|
},
|
|
"oeis_error": {
|
|
"en": "Error communicating with the OEIS database."
|
|
}
|
|
} |