ITOH
2914874d19
types: add gateway opcodes enum ( #711 )
...
* bring opcodes enum back
* Update src/types/gateway/opcodes.ts
Co-authored-by: ayntee <ayyantee@gmail.com >
* DiscordGatewayOpcodes
Co-authored-by: ayntee <ayyantee@gmail.com >
2021-03-29 20:58:33 +04:00
ITOH
c91c9d0870
types: remove entire types ( #684 )
2021-03-23 19:14:26 +04:00
ayntee
e4fc09069f
style: format files
2021-03-20 10:08:30 +04:00
ayntee
5125ffd308
refactor: replace util/cache with cache
2021-03-20 10:06:57 +04:00
ITOH
2d55decce5
refactor: use guildID and shardID as args in requestAllMembers() & fetchMembers() ( #671 )
...
* change args of requestAllMembers
* change args of fetchMembers
* fix getMembersByQuery
Co-authored-by: ayntee <ayyantee@gmail.com >
2021-03-15 19:19:18 +04:00
ayntee
8654aeded5
refactor: rename controllers to handlers and handlers to helpers ( #660 )
...
* refactor: rename controllers to handlers and handlers to helpers
* fmt
2021-03-11 21:41:03 +04:00
ayntee
aaed064709
refactor(controllers): separate controllers into different files ( #657 )
...
* refactor(controllers): separate controller into files
* add CHANNEL_UPDATE
* guilds
* interactions
* members
* messages
* finally
* done
* fix ci
* fixes
2021-03-11 20:38:27 +04:00
ayntee
45a3246370
fix(ws/shard): update status update payload ( #559 )
...
* fix(ws/shard): update status update payload
* :(
* Update src/types/discord.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com >
* it\'s activitypayload
* Update src/types/discord.ts
* idk
* idk
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com >
2021-03-08 19:41:20 +04:00
ayntee
7c404e80f6
refactor: use updated identify payload instead
2021-02-20 23:46:37 +04:00
TriForMine
602a74591e
refactor: resolve promises ( #515 )
...
* Adding missing await and updating some deps
* Adding missing await and updating some deps
* Adding missing await and updating some deps
* Fix close code 4009 until deno fixes the issue: https://github.com/denoland/deno/pull/8776
* Fix heartbeating
* Add await for the requestGuildMembers in requestAllMembers
* Change body && body.file to body?.file
* Fix lint #1
* Change body && body.file to body?.file
* Fix lint
* Deno lint
* Update request.ts
* Fix deno lint error
* Update src/ws/shard_manager.ts
Co-authored-by: ayntee <ayyantee@gmail.com >
* Fix fetchMembers
* Fix getMembersByQuery
* Try to fix RequestMembersQueue processing
* Deno lint
* Fix requestGuildMembers
* Fix requestGuildMembers
* Fix requestAllMembers
* Undo useless changes
* Fix merge conflict
* Fix merge conflict
* Change for loop to Promise.all
* Deno fmt
Co-authored-by: ayntee <ayyantee@gmail.com >
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2021-02-15 11:19:45 +04:00
ITOH
f70a989a21
types: better types ( #413 )
...
* Update cache.ts
* Update shard_manager.ts
2021-01-23 23:15:11 +04:00
Ayyan
e5a8f3b358
chore: setup "deno lint" ( #331 )
...
* chore: setup "deno lint"
* ci(lint): add --unstable flat to lint script
* lint
* lint
* refactor: destructure assignment for Message#guildID
* chore: remove TODO comment
* refactor: remove redundant async
* chore: switch to Deno stable vscode ext
* chore: remove ignore comments
* chore: remove ignore comments
* chore: remove @ts-ignore comment
* fixes
* fixes
* chore: remove deno-lint-ignore comment
* chore: add index signature
2021-01-03 20:12:42 +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
65d3789742
fix: nonce bug not resolving requests
2020-12-27 09:47:00 -05:00
Skillz
189dc150f2
rename to mod.ts
2020-12-26 19:30:32 -05:00
ayntee
8e3fab7411
fix: remove util/cdn export
2020-12-24 17:59:15 +04:00
ayntee
321175a72f
Revert "chore: verbose imports"
...
This reverts commit dfe6f371d3 .
2020-12-23 11:03:06 +04:00
ayntee
dfe6f371d3
chore: verbose imports
2020-12-22 22:59:09 +04:00
Ayyan
e49a23687e
refactor!: organize directories and files ( #268 )
...
* refactor!: organize directory structure
* fix: avoid stack overflow err
* chore: swtch back to std/encoding for base64
* style: format source files
2020-12-22 21:26:27 +04:00