Initial commit of Discord bot

This commit is contained in:
VinceC
2024-09-16 04:22:47 -05:00
commit d50c7c5b15
3950 changed files with 365981 additions and 0 deletions

44
node_modules/discord.js/src/util/Partials.js generated vendored Normal file
View File

@@ -0,0 +1,44 @@
'use strict';
const { createEnum } = require('./Enums');
/**
* The enumeration for partials.
* ```js
* import { Client, Partials } from 'discord.js';
*
* const client = new Client({
* intents: [
* // Intents...
* ],
* partials: [
* Partials.User, // We want to receive uncached users!
* Partials.Message // We want to receive uncached messages!
* ]
* });
* ```
* @typedef {Object} Partials
* @property {number} User The partial to receive uncached users.
* @property {number} Channel The partial to receive uncached channels.
* <info>This is required to receive direct messages!</info>
* @property {number} GuildMember The partial to receive uncached guild members.
* @property {number} Message The partial to receive uncached messages.
* @property {number} Reaction The partial to receive uncached reactions.
* @property {number} GuildScheduledEvent The partial to receive uncached guild scheduled events.
* @property {number} ThreadMember The partial to receive uncached thread members.
*/
// JSDoc for IntelliSense purposes
/**
* @type {Partials}
* @ignore
*/
module.exports = createEnum([
'User',
'Channel',
'GuildMember',
'Message',
'Reaction',
'GuildScheduledEvent',
'ThreadMember',
]);