forked from GitHub/dbot
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', {
|
||||
'qs': {
|
||||
'action': 'opensearch',
|
||||
'search': event.input[1],
|
||||
'search': event.input[1].replace(/\s/,'_'),
|
||||
'limit': 1,
|
||||
'namespace': 0,
|
||||
'format': 'json'
|
||||
|
Loading…
Reference in New Issue
Block a user