Added invite functionality and changed the EJS

This commit is contained in:
ION606
2023-04-01 21:49:27 -04:00
parent e0ffe24eec
commit f1415a9840
25 changed files with 589 additions and 201 deletions
+3 -2
View File
@@ -1,7 +1,8 @@
const { Interaction } = require('../structures/types');
import { Interaction } from '../structures/types.js';
const delay = ms => new Promise(resolve => setTimeout(resolve, ms));
module.exports = /** @param {Interaction} interaction */ async (interaction) => {
/** @param {Interaction} interaction */
export default async (interaction) => {
interaction.reply({content: "HELLO WORLD", ephemeral: true});
await delay(3000);
interaction.update({content: "NOOOOOOOOOOOOOOOOOO"});