summary refs log tree commit diff
path: root/src/util/Permissions.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/Permissions.ts')
-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 56540b8f..d1d5bc44 100644
--- a/src/util/Permissions.ts
+++ b/src/util/Permissions.ts
@@ -156,5 +156,5 @@ export async function getPermission(user_id: bigint, guild_id: bigint, channel_i
 		},
 	});
 
-	return permission;
+	return new Permissions(permission);
 }