diff options
author | Volpeon <git@volpeon.ink> | 2021-10-17 18:53:04 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-10-17 18:53:04 +0200 |
commit | cdd3d77d56fd304346c643b8d98b6a1e895fc236 (patch) | |
tree | 949a66c1f4da8b8d807ff0c3584df5ac872799c3 /src/config.ts | |
parent | Detect if Mastodon token is not set (diff) | |
download | feralbot-cdd3d77d56fd304346c643b8d98b6a1e895fc236.tar.gz feralbot-cdd3d77d56fd304346c643b8d98b6a1e895fc236.tar.bz2 feralbot-cdd3d77d56fd304346c643b8d98b6a1e895fc236.zip |
Support multiple e621 queries, post as unlisted
Diffstat (limited to 'src/config.ts')
-rw-r--r-- | src/config.ts | 46 |
1 files changed, 25 insertions, 21 deletions
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 @@ | |||
1 | export default { | 1 | export default { |
2 | e621: { | 2 | e621: { |
3 | userAgent: "@feralbot@botsin.space (by RedFoxxo)", | 3 | userAgent: "@feralbot@botsin.space (by RedFoxxo)", |
4 | tags: [ | 4 | queries: [ |
5 | "feral", | 5 | { |
6 | "-anthro", | 6 | tags: [ |
7 | "-human", | 7 | "feral", |
8 | "-meme", | 8 | "-anthro", |
9 | "-humor", | 9 | "-human", |
10 | "-photography_(artwork)", | 10 | "-meme", |
11 | "-portrait", | 11 | "-humor", |
12 | "-comic", | 12 | "-photography_(artwork)", |
13 | "-saliva", | 13 | "-portrait", |
14 | "-friendship_is_magic", | 14 | "-comic", |
15 | "-my_little_pony", | 15 | "-saliva", |
16 | "-type:swf", | 16 | "-friendship_is_magic", |
17 | "-type:webm", | 17 | "-my_little_pony", |
18 | "-type:gif", | 18 | "-type:swf", |
19 | "status:active", | 19 | "-type:webm", |
20 | "score:>=20", | 20 | "-type:gif", |
21 | "inpool:false", | 21 | "status:active", |
22 | "score:>=20", | ||
23 | "inpool:false", | ||
24 | ], | ||
25 | maxPage: 131, | ||
26 | }, | ||
22 | ], | 27 | ], |
23 | maxPage: 131, | ||
24 | }, | 28 | }, |
25 | /*misskey: { | 29 | /*misskey: { |
26 | instance: "https://mk.vulpes.one/", | 30 | instance: "https://mk.vulpes.one/", |
27 | token: process.env.MISSKEY_TOKEN, | 31 | token: process.env.MISSKEY_TOKEN, |
28 | },*/ | 32 | },*/ |
29 | mastodon: { | 33 | mastodon: { |
30 | instance: "https://botsin.space/", | 34 | instance: "https://botsin.space/", |
31 | token: process.env.MASTODON_TOKEN, | 35 | token: process.env.MASTODON_TOKEN, |
32 | }, | 36 | }, |
33 | cw: ["gun"], | 37 | cw: ["gun"], |
34 | }; | 38 | }; |