fix(tests): fix typescripts errors

This commit is contained in:
TriForMine
2021-04-13 13:42:36 +02:00
parent 99070b9f9c
commit b7fd8b6ee7
14 changed files with 44 additions and 44 deletions
@@ -39,7 +39,7 @@ async function ifItFailsBlameWolf(options: CreateGuildChannel, save = false) {
channelOverwriteHasPermission(
channel.guildId,
botId,
cache.channels.get(channel.id)?.permissionOverwrites,
cache.channels.get(channel.id)!.permissionOverwrites || [],
options.permissionOverwrites ? options.permissionOverwrites[0].allow : [],
),
true,