Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
types: Add tagged
type
unions for channel types (#200)
BREAKING CHANGE: All of the channel types are now split based on their type. As such, you will need to assert the type (either by checking it with the enum or by casting the data as the correct channel) before accessing data. *If you encounter any missing properties due to this, please open an issue! This is a big change, and we hope nothing is missing* Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com> Co-authored-by: Antonio Román <kyradiscord@gmail.com>
- Loading branch information
1 parent
08a8b28
commit 2c1fbda
Showing
11 changed files
with
511 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,3 +45,6 @@ voice/**/*.js | |
voice/**/*.map | ||
voice/**/*.d.ts | ||
voice/**/*.mjs | ||
|
||
# macOS files | ||
.DS_store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.