mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 08:22:22 +02:00
User-Agent for all requests
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user