mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
booru: fix nsfw filter
This commit is contained in:
@@ -80,7 +80,8 @@ class BooruService extends Service {
|
||||
|
||||
async fetch(msg) {
|
||||
// Init
|
||||
const userArgs = `${msg}${this._nsfw || !msg.includes('safe') ? '' : ' rating:safe'}`.split(/\s+/);
|
||||
const userArgs = `${msg}${(!this._nsfw || msg.includes('safe')) ? ' rating:safe' : ''}`.split(/\s+/);
|
||||
console.log(userArgs)
|
||||
|
||||
let taglist = [];
|
||||
let page = 1;
|
||||
|
||||
Reference in New Issue
Block a user