3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 20:39:25 +01:00
dbot/modules/oeis/strings.json
Scritches b415ee086f Add OEIS module
## 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
```
2018-04-18 00:26:05 -04:00

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."
}
}