mirror of
https://github.com/ION606/custom_discordjs.git
synced 2026-05-14 22:26:54 +00:00
Added invite functionality and changed the EJS
This commit is contained in:
@@ -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"});
|
||||
|
||||
Reference in New Issue
Block a user