Fix emoji font stack, change sonic font, fix job ID not being sent on jobs that don't require image input, some error handling fixes
This commit is contained in:
parent
4f66519aa7
commit
7a88f6b693
14 changed files with 30 additions and 32 deletions
|
@ -28,7 +28,8 @@ export function clean(text) {
|
|||
.replaceAll("`", `\`${String.fromCharCode(8203)}`)
|
||||
.replaceAll("@", `@${String.fromCharCode(8203)}`);
|
||||
|
||||
const { parsed } = config();
|
||||
let { parsed } = config();
|
||||
if (!parsed) parsed = process.env;
|
||||
const imageServers = JSON.parse(fs.readFileSync(new URL("../config/servers.json", import.meta.url), { encoding: "utf8" })).image;
|
||||
|
||||
if (imageServers?.length !== 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue