ayntee
c1914abe30
Update src/bot.ts
2021-02-21 21:02:17 +04:00
ayntee
32df4f9e13
Update src/bot.ts
2021-02-21 21:01:51 +04:00
ayntee
b0fcb3f2f5
Update src/bot.ts
2021-02-21 21:01:26 +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
db64efcba7
fix(bot): fix skipChecks logic ( #508 )
2021-02-06 18:18:55 +04:00
ITOH
c281665961
fix: use applicationID for slash commands instead of botID ( #437 )
...
* add(bot): ApplicationID let & setApplicationID function
* fix(controllers): set application id when bot is ready
* refactor(util): rename botID argument to applicationID
* fix(handlers): use applicationID
2021-01-23 23:19:12 +04:00
ITOH
8beb036741
feat(handlers): add getGatewayBot() & getApplicationInformation() ( #428 )
...
* feat(handlers): add getGatewayBot()
* refactor(bot): use getGatewayBot() to get gateway data
* feat(handlers): add getApplicationInformation
* add(handlers): getApplicationInformation jsdoc
* Add oauth required types
* create separate file
* delete misc
* OAuthApplication
* forgot to update import
* idk why that was here
2021-01-23 14:51:35 +04:00
ITOH
e56d67a138
feat: internal intents resolution ( #390 )
...
* better intents typing
* Update README.md
* Update mod.test.ts
* support enum too
2021-01-19 12:18:13 +04:00
Skillz4Killz
cd0347a5e1
feat: standalone rest server ( #290 )
...
* feat: standalone rest server
* desc
* fmt
* <3 vlad
* Update src/rest/README.md
Co-authored-by: Ayyan <ayyantee@gmail.com >
* Update src/rest/README.md
Co-authored-by: Ayyan <ayyantee@gmail.com >
* Update README.md
* Update src/rest/deps.ts
Co-authored-by: Ayyan <ayyantee@gmail.com >
* Update src/rest/queue.ts
Co-authored-by: Ayyan <ayyantee@gmail.com >
* chore: ignore no-explicit-any rule
* fix(rest): replace with correct import paths
* deno fmt
* fixes
* fmt
* use user agent cons
* fix typings
* Update src/rest/cache.ts
Co-authored-by: Ayyan <ayyantee@gmail.com >
* Update src/rest/cache.ts
Co-authored-by: Ayyan <ayyantee@gmail.com >
Co-authored-by: Ayyan <ayyantee@gmail.com >
2021-01-09 21:53:14 +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
185db61887
add member.mention and member.avatarURL
2020-12-27 10:54:20 -05: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
2c697a4d2d
refactor: add gateway version to constants
2020-12-26 20:01:41 +04:00
ayntee
fe43cc8f88
Some updates―renaming interfaces and files
2020-12-23 18:12:12 +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