mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 03:18:17 +00:00
fix(tests): fix typescripts errors
This commit is contained in:
@@ -47,7 +47,7 @@ async function ifItFailsBlameWolf(options: CreateGuildChannel, save = false) {
|
||||
channelOverwriteHasPermission(
|
||||
channel.guildId,
|
||||
botId,
|
||||
cache.channels.get(channel.id)?.permissionOverwrites,
|
||||
cache.channels.get(channel.id)?.permissionOverwrites || [],
|
||||
["VIEW_CHANNEL", "ADD_REACTIONS"],
|
||||
),
|
||||
);
|
||||
@@ -56,7 +56,7 @@ async function ifItFailsBlameWolf(options: CreateGuildChannel, save = false) {
|
||||
channelOverwriteHasPermission(
|
||||
channel.guildId,
|
||||
botId,
|
||||
cache.channels.get(channel.id)?.permissionOverwrites,
|
||||
cache.channels.get(channel.id)?.permissionOverwrites || [],
|
||||
["VIEW_CHANNEL", "ADD_REACTIONS"],
|
||||
),
|
||||
true,
|
||||
|
||||
Reference in New Issue
Block a user