feat(structures/channel): add getters and handlers to Channel struct (#533)

* export CleanVoiceState interface

* feat(structures): channels getter voiceStates

* feat(structures): channels add connectedMembers

* feat(structures): channel add disconnect

* Update channel.ts

* feat(structures): channels add delete

* idk

* feat(structures): channel add editOverwrite

* feat(structures): channel add deleteOverewrite

* feat(structures): channel add edit

* feat(structures): channel add hasPermission
This commit is contained in:
ITOH
2021-02-21 18:22:52 +01:00
committed by GitHub
parent f481962b9c
commit 15dc027b92
2 changed files with 88 additions and 3 deletions
+1 -1
View File
@@ -345,7 +345,7 @@ export interface Guild {
invites(): ReturnType<typeof getInvites>;
}
interface CleanVoiceState extends VoiceState {
export interface CleanVoiceState extends VoiceState {
/** The guild id where this voice state is from */
guildID: string;
/** The channel id where this voice state is from */