summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/Permissions.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/Permissions.ts b/src/util/Permissions.ts
index 96a1a27c..d7233536 100644
--- a/src/util/Permissions.ts
+++ b/src/util/Permissions.ts
@@ -147,7 +147,7 @@ export async function getPermission(
 	user_id: bigint,
 	guild_id: bigint,
 	channel_id?: bigint,
-	cache?: { channel: ChannelDocument | null; member: MemberDocument | null }
+	cache?: { channel?: ChannelDocument | null; member?: MemberDocument | null }
 ) {
 	var { channel, member } = cache || {};