mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-12-22 04:21:28 +01:00
fix(arabot): fix imports of types
This commit is contained in:
@@ -19,13 +19,13 @@
|
||||
|
||||
import { RegisterBehavior } from '@sapphire/framework';
|
||||
import { Subcommand } from '@sapphire/plugin-subcommands';
|
||||
import type { Guild, TextChannel } from 'discord.js';
|
||||
import type { Guild, TextChannel, Snowflake } from 'discord.js';
|
||||
import {
|
||||
CategoryChannel,
|
||||
ChannelType,
|
||||
EmbedBuilder,
|
||||
GuildMember,
|
||||
PermissionsBitField, Snowflake,
|
||||
PermissionsBitField,
|
||||
time,
|
||||
} from 'discord.js';
|
||||
import IDs from '#utils/ids';
|
||||
|
||||
@@ -26,9 +26,8 @@ import {
|
||||
GuildMember,
|
||||
Message,
|
||||
PermissionsBitField,
|
||||
Snowflake,
|
||||
} from 'discord.js';
|
||||
import type { TextChannel } from 'discord.js';
|
||||
import type { TextChannel, Snowflake } from 'discord.js';
|
||||
import IDs from '#utils/ids';
|
||||
|
||||
export class DiversityCommand extends Subcommand {
|
||||
|
||||
@@ -17,7 +17,8 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { InteractionHandler, InteractionHandlerTypes, PieceContext } from '@sapphire/framework';
|
||||
import { InteractionHandler, InteractionHandlerTypes } from '@sapphire/framework';
|
||||
import type { PieceContext } from '@sapphire/framework';
|
||||
import type { ButtonInteraction, GuildMember } from 'discord.js';
|
||||
import IDs from '#utils/ids';
|
||||
|
||||
|
||||
@@ -17,7 +17,8 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { InteractionHandler, InteractionHandlerTypes, PieceContext } from '@sapphire/framework';
|
||||
import { InteractionHandler, InteractionHandlerTypes } from '@sapphire/framework';
|
||||
import type { PieceContext } from '@sapphire/framework';
|
||||
import type { ButtonInteraction, GuildMember, TextChannel } from 'discord.js';
|
||||
import IDs from '#utils/ids';
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@ import type {
|
||||
VoiceState,
|
||||
GuildMember,
|
||||
Guild,
|
||||
Snowflake,
|
||||
} from 'discord.js';
|
||||
import {
|
||||
time,
|
||||
@@ -35,7 +36,7 @@ import {
|
||||
ButtonInteraction,
|
||||
ButtonStyle,
|
||||
ActionRowBuilder,
|
||||
EmbedBuilder, Snowflake,
|
||||
EmbedBuilder,
|
||||
} from 'discord.js';
|
||||
import {
|
||||
createVerificationText,
|
||||
|
||||
@@ -22,12 +22,12 @@ import {
|
||||
CategoryChannel,
|
||||
ChannelType,
|
||||
GuildMember,
|
||||
PermissionsBitField, Snowflake,
|
||||
PermissionsBitField,
|
||||
TextChannel,
|
||||
time,
|
||||
User,
|
||||
VoiceBasedChannel,
|
||||
} from 'discord.js';
|
||||
import type { Snowflake, VoiceBasedChannel } from 'discord.js';
|
||||
import IDs from '#utils/ids';
|
||||
|
||||
export async function createVerificationText(
|
||||
|
||||
Reference in New Issue
Block a user