mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-23 18:05:01 +02:00
User-Agent for all requests
This commit is contained in:
@@ -32,6 +32,9 @@ class DefineCommand extends commando.Command {
|
||||
includeTags: false,
|
||||
api_key: config.wordnikkey
|
||||
},
|
||||
headers: {
|
||||
'User-Agent': 'XiaoBot - dragonfire535 (http://dragonfire535.tk)'
|
||||
},
|
||||
json: true
|
||||
}
|
||||
request(options).then(function (response) {
|
||||
|
||||
Reference in New Issue
Block a user