mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
fix changes
This commit is contained in:
@@ -14,7 +14,7 @@ export async function cloneChannel(channelId: bigint, reason?: string) {
|
||||
|
||||
//Check for DM channel
|
||||
if (
|
||||
channelToClone.type === DiscordChannelTypes.Dm ||
|
||||
channelToClone.type === DiscordChannelTypes.DM ||
|
||||
channelToClone.type === DiscordChannelTypes.GroupDm
|
||||
) {
|
||||
throw new Error(Errors.CHANNEL_NOT_IN_GUILD);
|
||||
|
||||
@@ -16,7 +16,7 @@ export async function startTyping(channelId: bigint) {
|
||||
if (channel) {
|
||||
if (
|
||||
![
|
||||
DiscordChannelTypes.Dm,
|
||||
DiscordChannelTypes.DM,
|
||||
DiscordChannelTypes.GuildNews,
|
||||
DiscordChannelTypes.GuildText,
|
||||
DiscordChannelTypes.GuildNewsThread,
|
||||
|
||||
Reference in New Issue
Block a user