You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: switch to sapphire/*@v2 and discord.js@dev (#227)
Added `CommandPreConditions.GuildNewsThreadOnly`.
Added `CommandPreConditions.GuildPrivateThreadOnly`.
Added `CommandPreConditions.GuildPublicThreadOnly`.
Added `CommandPreConditions.GuildThreadOnly`.
Added `Identifiers.PreconditionGuildNewsThreadOnly`.
Added `Identifiers.PreconditionGuildPrivateThreadOnly`.
Added `Identifiers.PreconditionGuildPublicThreadOnly`.
Added `Identifiers.PreconditionThreadOnly`.
Added `Preconditions.GuildNewsThreadOnly`.
Added `Preconditions.GuildPrivateThreadOnly`.
Added `Preconditions.GuildPublicThreadOnly`.
Added `Preconditions.GuildThreadOnly`.
Added the `guildNewsThreadChannel` argument type.
Added the `guildPrivateThreadChannel` argument type.
Added the `guildPublicThreadChannel` argument type.
Added the `guildStageVoiceChannel` argument type.
Added the `guildThreadChannel` argument type.
Changed `GuildNewsOnly` precondition to allow `GUILD_NEWS_THREAD`.
Changed `GuildTextOnly` precondition to allow `GUILD_PUBLIC_THREAD` and `GUILD_PRIVATE_THREAD`.
Fixed `CoreMessage` event not filtering webhooks in v13.
Fixed `CoreMessageParser` event not checking for DM channel correctly in v13.
Updated `Cooldown` precondition to use `@sapphire/[email protected]`.
Updated `Permissions` precondition to support `USE_APPLICATION_COMMANDS`.
Updated `Permissions` precondition to support `USE_PRIVATE_THREADS`.
Updated `Permissions` precondition to support `USE_PUBLIC_THREADS`.
BREAKING CHANGE: Changed `guildChannel` argument to return `GuildChannel | ThreadChannel`.
BREAKING CHANGE: Changed `SapphireClient.id`'s type to `Snowflake | null`.
BREAKING CHANGE: Changed `SapphireClientOptions.id`'s type to `Snowflake | null`.
BREAKING CHANGE: Removed `Events.GuildMemberSpeaking`.
BREAKING CHANGE: Removed `StoreRegistry`, it is now re-exported from `@sapphire/pieces`.
BREAKING CHANGE: Renamed `ArgType.categoryChannel` to `guildCategoryChannel`.
BREAKING CHANGE: Renamed `ArgType.newsChannel` to `guildNewsChannel`.
BREAKING CHANGE: Renamed `ArgType.textChannel` to `guildTextChannel`.
BREAKING CHANGE: Renamed `ArgType.voiceChannel` to `guildVoiceChannel`.
BREAKING CHANGE: Renamed `CommandPreConditions.NewsOnly` to `GuildNewsOnly`.
BREAKING CHANGE: Renamed `CommandPreConditions.TextOnly` to `GuildTextOnly`.
BREAKING CHANGE: Renamed `Identifiers.PreconditionNewsOnly` to `PreconditionGuildNewsOnly`.
BREAKING CHANGE: Renamed `Identifiers.PreconditionTextOnly` to `PreconditionGuildTextOnly`.
BREAKING CHANGE: Renamed `Preconditions.NewsOnly` to `GuildNewsOnly`.
BREAKING CHANGE: Renamed `Preconditions.TextOnly` to `GuildTextOnly`.
BREAKING CHANGE: Renamed the possible values for `CommandOptionsRunType`.
BREAKING CHANGE: Updated `CooldownContext.delay` to not be optional.
BREAKING CHANGE: Updated `discord.js` requirement to v13.
0 commit comments