summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-14 20:24:39 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-14 20:24:39 +0100
commit2859daeba89e56683c60d99db0d6100fa4ac797d (patch)
treeb9ebab333df38f3239333c5072750d7af1e64624 /src/util
parent:bug: fix public member type (diff)
downloadserver-2859daeba89e56683c60d99db0d6100fa4ac797d.tar.xz
:bug: fix permission
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 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);
 }