mirror of
https://github.com/thaldrin/thaldrin.git
synced 2024-08-14 23:57:21 +00:00
make the yiff useragent use name set in vars
This commit is contained in:
parent
6989537da9
commit
80574888d1
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ import Yiff from 'yiff'
|
||||||
import config from '../../config'
|
import config from '../../config'
|
||||||
import pkg from '../../package.json'
|
import pkg from '../../package.json'
|
||||||
let yiff = new Yiff({
|
let yiff = new Yiff({
|
||||||
useragent: `Thaldrin/v${pkg.version} (t8.pm/bot)`,
|
useragent: `${config.variables.name}/v${pkg.version} (t8.pm/bot)`,
|
||||||
apikey: {
|
apikey: {
|
||||||
sheri: config.apis.sheri,
|
sheri: config.apis.sheri,
|
||||||
yiffrest: config.apis.yiffrest
|
yiffrest: config.apis.yiffrest
|
||||||
|
|
Loading…
Reference in a new issue