Finish converting natives
This commit is contained in:
parent
e1a31d6ddc
commit
47b2d9fcff
72 changed files with 746 additions and 876 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue