Finish converting natives

This commit is contained in:
Essem 2022-12-28 00:20:17 -06:00
parent e1a31d6ddc
commit 47b2d9fcff
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C
72 changed files with 746 additions and 876 deletions

View file

@ -6,7 +6,7 @@ let dirSizeCache;
export async function upload(client, result, context, interaction = false) {
const filename = `${Math.random().toString(36).substring(2, 15)}.${result.name.split(".")[1]}`;
await writeFile(`${process.env.TEMPDIR}/${filename}`, result.contents);
const imageURL = `${process.env.TMP_DOMAIN || "https://tmp.projectlounge.pw"}/${filename}`;
const imageURL = `${process.env.TMP_DOMAIN || "https://tmp.esmbot.net"}/${filename}`;
const payload = {
embeds: [{
color: 16711680,