Oscar Wos
a72432f7f3
types(message): add APPLICATION_COMMAND to MessageTypes ( #340 )
2021-01-03 09:12:27 +04:00
Skillz4Killz
2d1690a355
Merge pull request #332 from discordeno/patch3
...
fix: outdated pin & unpin handlers and endpoints
2021-01-02 12:49:44 -05:00
Skillz4Killz
188bc0200d
Merge pull request #330 from discordeno/patch2
...
fix: replace incorrect check for GUILD_UPDATE controller
2021-01-02 12:49:10 -05:00
ayntee
b351fe0a90
fix(RoleData): "tags" property can be undefined not null
2021-01-02 19:09:15 +04:00
ayntee
32c3306bf0
fix: outdated pin & unpin handlers and endpoints
2021-01-02 17:10:18 +04:00
ayntee
c10ef62c6c
fix: replace incorrect check for GUILD_UPDATE controller
2021-01-02 13:36:15 +04:00
Ayyan
ae9e14bf25
fix: separate event for APPLICATION_COMMAND_CREATE ( #322 )
...
* fix: separate event for APPLICATION_COMMAND_CREATE
* Change the name of the event
* Revert "Change the name of the event"
This reverts commit dc6744ed9f .
* Remove payload variable
* idk
2021-01-02 09:26:57 +04:00
Ayyan
8c9a075d30
fix: channels, presences, voiceStates can be undef ( #301 )
...
* fix(Guild): presences and voiceStates can be undef
* fix: handle undef Guild#voiceStates
* fix: channels, presences, voice_states can be undef
* Revert "fix: handle undef Guild#voiceStates"
This reverts commit ddd3c32e21 .
2020-12-31 19:52:07 +04:00
Ayyan
6e1afa13a4
docs(handlers): add jsdoc comment block ( #313 )
...
* docs(handlers): add jsdoc comment block
* style: format files
2020-12-31 19:51:42 +04:00
Ayyan
02c0466760
fix: remove role from coll after the event ( #304 )
...
* fix: remove role from coll after the event
* fix: check if cachedRole is not nil
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2020-12-31 11:41:17 +04:00
TriForMine
d53725d069
fix: use correct bitwise operator ( #302 )
...
* Fix permissions (sorry my ide changed & to &&)
* Change botHasChannelPermissions to async.
This seems to have fixed my issue for my bot
* Remove async for botHasChannelPermissions
* Add async back for botHasChannelPermissions since it doesn't work without it
* Remove async, the issues were something else apparently
2020-12-30 17:35:39 +04:00
TriForMine
484f86638f
refactor: resolve async promises, fixed typos, and used inline variable for return ( #299 )
...
* Added await in async function, fixed typos and used inline variable for return
* Added await in async function, fixed typos and used inline variable for return
* Revert "Added await in async function, fixed typos and used inline variable for return"
This reverts commit f31caf5d
* Added await in async function, fixed typos and used inline variable for return
* Fixes format
* Fixes format 2
* Fixes format 4475757
* Fixes format 878757854786312378657865785785785785
* Change return to await
* Fixing more issues
* Fixing even more issues
* Fixing even more issues +
* Fixes format
2020-12-30 12:31:11 +04:00
Skillz
7cce1fab18
fmt
2020-12-27 13:26:19 -05:00
Skillz
8e92047845
allow optional easier
2020-12-27 13:10:36 -05:00
Skillz
156347c2fa
fix: small typos
2020-12-27 12:39:23 -05:00
Skillz
dc23f30161
add message.channel
2020-12-27 12:11:08 -05:00
Skillz
727d07d25e
fix message timestamp typing
2020-12-27 11:32:00 -05:00
Skillz
108142f025
rework message sending getters
2020-12-27 11:27:30 -05:00
Skillz
cbde2943ca
add member.tag
2020-12-27 11:22:15 -05:00
Skillz
9230500993
fix member
2020-12-27 11:19:43 -05:00
Skillz
604a714b14
tiny fixes
2020-12-27 11:15:17 -05:00
Skillz
c9dc3623f0
fix
2020-12-27 11:11:18 -05:00
Skillz
d44309b557
add ban and unban to guild struct
2020-12-27 11:10:10 -05:00
Skillz
3123c13231
Merge branch 'master' of https://github.com/discordeno/discordeno
2020-12-27 10:54:23 -05:00
Skillz
185db61887
add member.mention and member.avatarURL
2020-12-27 10:54:20 -05:00
ITOH
abee2e2dee
fix: hasChannelPermissions() to use memberIDHasPermission() ( #279 )
2020-12-27 19:46:11 +04:00
ayntee
2e1ad20361
style: format files
2020-12-27 18:53:52 +04:00
Skillz
280cfef182
Merge branch 'master' of https://github.com/discordeno/discordeno
2020-12-27 09:47:02 -05:00
Skillz
65d3789742
fix: nonce bug not resolving requests
2020-12-27 09:47:00 -05:00
Skillz4Killz
01784791fe
Merge pull request #275 from discordeno/deps
...
deps: use unpkg instead of esm.sh
2020-12-27 08:45:38 -05:00
Ayyan
5959987639
Update README.md
2020-12-27 16:59:58 +04:00
ayntee
3ca78030cb
docs: improve wording
2020-12-27 16:51:18 +04:00
ayntee
a27349d2ec
deps: use unpkg instead of esm.sh
2020-12-27 14:49:16 +04:00
TriForMine
d5c19e50f0
fix: remove extra slash from IMAGE_BASE_URL ( #274 )
...
Removed the extra slash at the end since the usage of this variable always add the slash after the constant.
2020-12-27 14:33:37 +04:00
ayntee
b35bcf821e
style: format api/structures/channel.ts
2020-12-27 11:20:51 +04:00
Skillz
291d4a2f49
update docs guide
2020-12-26 23:07:26 -05:00
Skillz
ef938ca4ed
fixes
2020-12-26 20:16:11 -05:00
Skillz
189dc150f2
rename to mod.ts
2020-12-26 19:30:32 -05:00
Skillz
0cfdb5fd43
fix guild struct
2020-12-26 19:26:09 -05:00
Skillz4Killz
e1d115ca0a
fmt
2020-12-27 00:06:16 +00:00
Skillz4Killz
af156b6b25
Merge pull request #262 from discordeno/getters
...
feat: implement getters
2020-12-26 18:37:55 -05:00
Skillz4Killz
4f12969cd8
fmt
2020-12-26 23:35:58 +00:00
Skillz4Killz
6e924f4ee6
add guild stuff
2020-12-26 22:41:28 +00:00
ayntee
d83a049a93
idk
2020-12-26 20:30:31 +04:00
ayntee
2a6d5ad070
idk
2020-12-26 20:26:51 +04:00
ayntee
69099e04fc
Better debug type
2020-12-26 20:23:57 +04:00
ayntee
2c697a4d2d
refactor: add gateway version to constants
2020-12-26 20:01:41 +04:00
ayntee
d793a46497
Merge branch 'next' of https://github.com/discordeno/discordeno into getters
2020-12-26 19:46:17 +04:00
ayntee
64884439db
refactor(rest): move user agent to constants
2020-12-26 19:36:08 +04:00
ayntee
2ae07da6db
Rename socket to ws
2020-12-26 19:02:57 +04:00