User-Agent for all requests

This commit is contained in:
dragonfire535
2017-03-12 13:21:01 -04:00
parent a4412019c8
commit 41d8eaaf1f
8 changed files with 33 additions and 3 deletions
+2 -1
View File
@@ -31,7 +31,8 @@ class YodaCommand extends commando.Command {
},
headers: {
'X-Mashape-Key': config.mashapekey,
'Accept': "text/plain"
'Accept': "text/plain",
'User-Agent': 'XiaoBot - dragonfire535 (http://dragonfire535.tk)'
},
json: true
}