This commit is contained in:
Isaac
2021-02-21 15:58:06 +00:00
parent ed12120f1b
commit 2910a2a201
10 changed files with 171 additions and 29 deletions

View File

@@ -7,7 +7,7 @@ let current_presence = -1;
module.exports = {
/**
* Resolves data and files so embeds can be sent as a response to a slash command
* @param {Discord.Client} channel_id - Text channel ID
* @param {Discord.Client} client - The Discord Client
* @param {string} channel_id - Text channel ID
* @param {*} content - Message content
* @returns {Object}
@@ -25,6 +25,15 @@ module.exports = {
*/
flags: (secret) => secret ? 1 << 64 : undefined,
/**
* Set message entities
* @param {Discord.Message} message - The message to set entities for
*/
messageEntities(message) {
const { client } = message;
},
/**
* Select a presence from the config
* @returns {Discord.PresenceData}