mirror of
https://github.com/ION606/custom_discordjs.git
synced 2026-06-06 00:07:01 +00:00
Added invite functionality and changed the EJS
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
const delay = ms => new Promise(resolve => setTimeout(resolve, ms));
|
||||
const {message, Embed, messageChannelTypes} = require('../structures/types');
|
||||
import {message, Embed, messageChannelTypes} from '../structures/types.js';
|
||||
|
||||
module.exports = /** @param {message} message */ async (message) => {
|
||||
|
||||
/** @param {message} message */
|
||||
export default async (message) => {
|
||||
if (message.type == messageChannelTypes.DM) {
|
||||
const embd = new Embed()
|
||||
.setTitle("hello world")
|
||||
@@ -17,5 +19,7 @@ module.exports = /** @param {message} message */ async (message) => {
|
||||
|
||||
const response3 = await response.edit("KAT");
|
||||
console.log(response3);
|
||||
} else {
|
||||
console.log(message);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user