mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 12:29:26 +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', {
|
||||
'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