mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-23 10:52:30 +01:00
Merge branch 'fix/channelPermissionOverwriteSchema' into slowcord
This commit is contained in:
commit
fc255ca89a
@ -16,7 +16,14 @@ const router: Router = Router();
|
||||
|
||||
// TODO: Only permissions your bot has in the guild or channel can be allowed/denied (unless your bot has a MANAGE_ROLES overwrite in the channel)
|
||||
|
||||
export interface ChannelPermissionOverwriteSchema extends ChannelPermissionOverwrite {}
|
||||
// export interface ChannelPermissionOverwriteSchema extends ChannelPermissionOverwrite {}
|
||||
// TODO: typescript-json-schema does not like extending types
|
||||
export interface ChannelPermissionOverwriteSchema {
|
||||
allow: string;
|
||||
deny: string;
|
||||
id: string;
|
||||
type: ChannelPermissionOverwriteType;
|
||||
}
|
||||
|
||||
router.put(
|
||||
"/:overwrite_id",
|
||||
|
Loading…
Reference in New Issue
Block a user