From cdd3d77d56fd304346c643b8d98b6a1e895fc236 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 17 Oct 2021 18:53:04 +0200 Subject: Support multiple e621 queries, post as unlisted --- src/config.ts | 46 +++++++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 21 deletions(-) (limited to 'src/config.ts') diff --git a/src/config.ts b/src/config.ts index f051888..4c9f0be 100644 --- a/src/config.ts +++ b/src/config.ts @@ -1,34 +1,38 @@ export default { e621: { userAgent: "@feralbot@botsin.space (by RedFoxxo)", - tags: [ - "feral", - "-anthro", - "-human", - "-meme", - "-humor", - "-photography_(artwork)", - "-portrait", - "-comic", - "-saliva", - "-friendship_is_magic", - "-my_little_pony", - "-type:swf", - "-type:webm", - "-type:gif", - "status:active", - "score:>=20", - "inpool:false", + queries: [ + { + tags: [ + "feral", + "-anthro", + "-human", + "-meme", + "-humor", + "-photography_(artwork)", + "-portrait", + "-comic", + "-saliva", + "-friendship_is_magic", + "-my_little_pony", + "-type:swf", + "-type:webm", + "-type:gif", + "status:active", + "score:>=20", + "inpool:false", + ], + maxPage: 131, + }, ], - maxPage: 131, }, /*misskey: { instance: "https://mk.vulpes.one/", token: process.env.MISSKEY_TOKEN, },*/ mastodon: { - instance: "https://botsin.space/", - token: process.env.MASTODON_TOKEN, + instance: "https://botsin.space/", + token: process.env.MASTODON_TOKEN, }, cw: ["gun"], }; -- cgit v1.2.3-70-g09d2