chore: refactor workspace

This commit is contained in:
iCrawl
2023-05-03 02:14:22 +02:00
parent c429763be8
commit 7e875f6919
129 changed files with 1662 additions and 1371 deletions

View File

@@ -1,3 +1,5 @@
/* eslint-disable jsdoc/check-param-names */
import { makeURLSearchParams, type RequestData, type REST } from '@discordjs/rest';
import {
Routes,

View File

@@ -1,3 +1,5 @@
/* eslint-disable jsdoc/check-param-names */
import { makeURLSearchParams, type RawFile, type REST, type RequestData } from '@discordjs/rest';
import {
Routes,

View File

@@ -1,3 +1,5 @@
/* eslint-disable jsdoc/check-param-names */
import { makeURLSearchParams, type REST, type RawFile, type RequestData } from '@discordjs/rest';
import { Routes } from 'discord-api-types/v10';
import type {
@@ -1035,6 +1037,7 @@ export class GuildsAPI {
*
* @see {@link https://discord.com/developers/docs/resources/auto-moderation#delete-auto-moderation-rule}
* @param guildId - The id of the guild to delete the auto moderation rule from
* @param ruleId - The id of the auto moderation rule to delete
* @param options - The options for deleting the auto moderation rule
*/
public async deleteAutoModerationRule(

View File

@@ -1,3 +1,5 @@
/* eslint-disable jsdoc/check-param-names */
import type { RawFile, RequestData, REST } from '@discordjs/rest';
import { InteractionResponseType, Routes } from 'discord-api-types/v10';
import type {

View File

@@ -1,3 +1,5 @@
/* eslint-disable jsdoc/check-param-names */
import { makeURLSearchParams, type RequestData, type REST } from '@discordjs/rest';
import { Routes, type RESTGetAPIInviteQuery, type RESTGetAPIInviteResult } from 'discord-api-types/v10';

View File

@@ -1,3 +1,5 @@
/* eslint-disable jsdoc/check-param-names */
import { URL } from 'node:url';
import { type RequestData, type REST, makeURLSearchParams } from '@discordjs/rest';
import {

View File

@@ -1,3 +1,5 @@
/* eslint-disable jsdoc/check-param-names */
import type { RequestData, REST } from '@discordjs/rest';
import {
Routes,

View File

@@ -1,3 +1,5 @@
/* eslint-disable jsdoc/check-param-names */
import type { RequestData, REST } from '@discordjs/rest';
import {
Routes,

View File

@@ -1,3 +1,5 @@
/* eslint-disable jsdoc/check-param-names */
import type { RawFile, RequestData, REST } from '@discordjs/rest';
import {
Routes,

View File

@@ -1,3 +1,5 @@
/* eslint-disable jsdoc/check-param-names */
import { makeURLSearchParams, type RequestData, type REST } from '@discordjs/rest';
import {
Routes,

View File

@@ -1,3 +1,5 @@
/* eslint-disable jsdoc/check-param-names */
import type { RequestData, REST } from '@discordjs/rest';
import { Routes, type RESTGetAPIVoiceRegionsResult } from 'discord-api-types/v10';

View File

@@ -1,3 +1,5 @@
/* eslint-disable jsdoc/check-param-names */
import { makeURLSearchParams, type RequestData, type RawFile, type REST } from '@discordjs/rest';
import {
Routes,
@@ -158,6 +160,7 @@ export class WebhooksAPI {
* @see {@link https://discord.com/developers/docs/resources/webhook#execute-slackcompatible-webhook}
* @param id - The id of the webhook
* @param token - The token of the webhook
* @param body - The data to use when executing the webhook
* @param query - The query options to use when executing the webhook
* @param options - The options to use when executing the webhook
*/
@@ -182,6 +185,7 @@ export class WebhooksAPI {
* @see {@link https://discord.com/developers/docs/resources/webhook#execute-githubcompatible-webhook}
* @param id - The id of the webhook
* @param token - The token of the webhook
* @param body - The data to use when executing the webhook
* @param query - The options to use when executing the webhook
* @param options - The options to use when executing the webhook
*/