diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-02-14 20:24:39 +0100 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-02-14 20:24:39 +0100 |
commit | 2859daeba89e56683c60d99db0d6100fa4ac797d (patch) | |
tree | b9ebab333df38f3239333c5072750d7af1e64624 /src/util | |
parent | :bug: fix public member type (diff) | |
download | server-2859daeba89e56683c60d99db0d6100fa4ac797d.tar.xz |
:bug: fix permission
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/Permissions.ts | 2 |
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); } |