mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 06:19:24 +01:00
fix spaces
This commit is contained in:
parent
40e20f06b0
commit
b9064302ba
@ -54,7 +54,7 @@ var wikipedia = function(dbot) {
|
|||||||
request.get('http://wikipedia.org/w/api.php', {
|
request.get('http://wikipedia.org/w/api.php', {
|
||||||
'qs': {
|
'qs': {
|
||||||
'action': 'opensearch',
|
'action': 'opensearch',
|
||||||
'search': event.input[1],
|
'search': event.input[1].replace(/\s/,'_'),
|
||||||
'limit': 1,
|
'limit': 1,
|
||||||
'namespace': 0,
|
'namespace': 0,
|
||||||
'format': 'json'
|
'format': 'json'
|
||||||
|
Loading…
Reference in New Issue
Block a user