ITOH
|
2fcdbe5822
|
Update request.ts
|
2021-02-25 18:37:18 +01:00 |
|
Skillz
|
4f8d5a4b65
|
reducing complexity
|
2021-02-22 14:31:03 -05:00 |
|
Skillz
|
98690a037e
|
reduce complexity
|
2021-02-22 14:30:46 -05:00 |
|
Skillz
|
17f5222c65
|
remove log
|
2021-02-22 12:02:29 -05:00 |
|
Skillz
|
6eca60777c
|
itoh is love itoh is bae this is his stuff
|
2021-02-22 12:01:32 -05:00 |
|
ITOH
|
15dc027b92
|
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
|
2021-02-21 21:22:52 +04:00 |
|
Skillz4Killz
|
f481962b9c
|
fix(handlers/channel): rewrite permission handler for send*Message() (#535)
* v8 stopped sending this
* better safety handling
* husky o husky where art though husky
|
2021-02-21 21:21:56 +04:00 |
|
Skillz4Killz
|
c81d28acfe
|
fix(rest/request_manager): embed URL in the request body (#536)
* fix big brain bot auth on proxy rest
* whoops
* fix header
* fix url and method in body
|
2021-02-21 21:19:15 +04:00 |
|
Skillz4Killz
|
d83665d8ff
|
fix(rest/request_manager): pass authorization header instead (#534)
* fix big brain bot auth on proxy rest
* whoops
* fix header
|
2021-02-21 21:05:46 +04:00 |
|
ayntee
|
62a91ba013
|
Update src/bot.ts
|
2021-02-21 21:03:02 +04:00 |
|
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 |
|
Skillz4Killz
|
4e09b7f46e
|
feat(structures/message): add DM redirect for send message methods (#523)
* fix: message.methods to send in dm
* fmt
* fix lint
* Update message.ts
|
2021-02-16 17:21:31 +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 |
|
ayntee
|
7d3aeac9a0
|
chore: update dependencies (#519)
|
2021-02-13 13:03:13 +04:00 |
|
ayntee
|
043fe5c308
|
fix(ws/shard): use WebSocket#close() instead of WebSocket#send() to close connection (#518)
* fix(ws/shard): use WebSocket#close() instead of WebSocket#send() to close connection
* Oops forgot the return statement
|
2021-02-13 12:14:23 +04:00 |
|
ayntee
|
ce99dc3e0a
|
fix: remove structure automatic caching (#517)
* fix: remove structure automatic caching
* Update src/api/controllers/interactions.ts
* Update src/api/controllers/interactions.ts
* Update src/api/controllers/interactions.ts
* memb -> member
* rename shit
* Update src/api/controllers/misc.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
* idk
* Update src/api/handlers/guild.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
* fmt
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
|
2021-02-12 22:18:05 +04:00 |
|
ayntee
|
85dfb6778e
|
fix(ws/shard): pass shardID to sendWS() (#516)
|
2021-02-11 10:31:33 +04:00 |
|
Skillz4Killz
|
99ed2c2edb
|
feat(types): add and detach API types (#510)
* feat: add guidelines
* Camelize
* feat: add DiscordUser
* add Discord prefix
* feat: webhook types
* add integration typings
* add new errors and alphabetize
* Add channel types
* feat: add DiscordOverwrite
* feat: webhook typings
* feat: role typings
* fix name
* feat: integration types
* feat: mod.ts for types
* feat: add auditlog types
* feat: teams typings
* feat: add base user interface
* feat: image typings
* enable more mod.ts
* feat: add emoji typings
* channel typings
* embed types
* cleanup embed
* add emoji types
* add more member types
* feat: add message types
* add more to mod.ts
* fix name
* feat: add codes
* feat: add guild types
* feat: add integration types
* add more to mod.ts
* feat: add interaction types
* feat: add voice types
* add more to mod.ts
* feat: add gateway, events
* feat: add invite types
* add to mod ts
* feat: add template types
* feat: add rate limits types
* apply fixes
* deno fmt
* deno fmt
* fix: oauth snake case
* fix: oauth name
* fix: add back and ignore deno fmt
* fix: discord voice snake case
* fix: util fmt
* fix names and fmt
* fix: auditlog types
* lint: shut up in types
* fix: no longer needed
* test
* fix import
* fix missing error
* fix error
|
2021-02-10 20:02:12 +04:00 |
|
ayntee
|
93b7e57293
|
feat(ws/shard): add sendWS() (#514)
* feat(ws/shard): add sendWS()
Closes #513
* Switch the order of the args
* Remove additional info
* Use sendWS()
|
2021-02-10 18:55:25 +04:00 |
|
ITOH
|
043df68de8
|
fix(controllers/guild): guildDelete listener not emitted & guildUpdate listener caching irrelevant fields (#512)
* Update guilds.ts
* Update guilds.ts
* fix my stupidness
* remove the logs
* delete guild after check
|
2021-02-09 22:00:29 +04:00 |
|
ITOH
|
db64efcba7
|
fix(bot): fix skipChecks logic (#508)
|
2021-02-06 18:18:55 +04:00 |
|
ayntee
|
051087f5bb
|
feat(controllers/misc): add inviteCreate & inviteDelete listeners (#504)
Closes #501
|
2021-02-04 10:59:42 +04:00 |
|
ayntee
|
1231809f89
|
Add ?
|
2021-02-02 10:03:05 +04:00 |
|
ayntee
|
dfcb406c66
|
feat(rest/request_manager): support multiple attachments (#499)
|
2021-02-01 22:57:21 +04:00 |
|
ayntee
|
d78115a4be
|
chore: update @evan/wasm to 0.0.40
|
2021-02-01 15:50:06 +04:00 |
|
ayntee
|
e1bc686a66
|
Revert "feat(rest/request_manager): support for multiple attachments (#484)" (#498)
This reverts commit 34ce39697a.
|
2021-02-01 13:25:47 +04:00 |
|
ayntee
|
8ab42a6b95
|
chore: update deps (#496)
|
2021-02-01 12:27:13 +04:00 |
|
ayntee
|
5fe0453897
|
refactor(ws/shard): rewrite the onclose event listener (#491)
|
2021-01-31 21:02:08 +04:00 |
|
ITOH
|
37ea1ef6ba
|
fix(controllers): delete role from cache before emitting the "roleDelete" event (#494)
|
2021-01-31 20:51:51 +04:00 |
|
ITOH
|
fe746be64f
|
fix(controllers/roles): emit roleDelete only once (#486)
* Update roles.ts
* delete role after event
* Update roles.ts
* Update roles.ts
|
2021-01-30 22:58:30 +04:00 |
|
ayntee
|
2fc067b26d
|
Revert "feat(handlers): add Membership Screening" (#490)
* Revert "feat(handlers): add Membership Screening (#449)"
This reverts commit 6599636dbc.
* Remove type definitions
|
2021-01-30 15:23:29 +04:00 |
|
ayntee
|
f1b095eb54
|
style: fix lint warnings (#489)
* style: fix lint warnings
* style: fix lint warnings
|
2021-01-30 15:07:14 +04:00 |
|
ayntee
|
34ce39697a
|
feat(rest/request_manager): support for multiple attachments (#484)
* feat(rest/request_manager): support for multiple attachments
Closes #483
* Use .map() instead of forEach()
|
2021-01-28 20:27:47 +04:00 |
|
ITOH
|
3184746008
|
fix(controllers/messages): "messageUpdate" event not returning the new message (#482)
|
2021-01-28 18:39:58 +04:00 |
|
ayntee
|
79089d239b
|
fix(util/permissions): include guild ID while resolving bits (#481)
Closes #480
|
2021-01-28 13:58:24 +04:00 |
|
ITOH
|
c3d7235918
|
feat(handlers): add getMembers() (#412)
* Update guild.ts
* add types
* forgot to import
* review things
* Update mod.ts
* Apply suggestions from code review
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
* remove redundant code
* Update guild.ts
* Paginate
* remove extra ()
* dont log if limit is < 1000
* thats unnecessary too
* Update guild.ts
* add sugg
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
|
2021-01-27 18:57:49 +04:00 |
|
ayntee
|
09bca99955
|
feat(controllers/interactions): add APPLICATION_COMMAND_{CREATE,UPDATE,DELETE} events (#479)
* feat(controllers/interactions): add APPLICATION_COMMAND_{CREATE,UPDATE,DELETE} gateway events
Reference: https://github.com/discord/discord-api-docs/pull/2367/
* chore: add events to controllers obj
|
2021-01-27 18:57:16 +04:00 |
|
ITOH
|
9b39112ab1
|
fix(controllers/misc): use cacheHandler in ready event (#477)
|
2021-01-27 18:55:39 +04:00 |
|
Ayyan
|
6599636dbc
|
feat(handlers): add Membership Screening (#449)
* feat(handlers): support membership screening feature
* s
|
2021-01-26 19:20:06 +04:00 |
|
Ayyan
|
9e389981aa
|
feat(controllers): add membershipScreeningPassed event (#467)
* feat(controllers): add membershipScreeningPassed event
* strict comparison :)
* idk
* Update src/api/controllers/members.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
* s
* Remove pending eosidhfgroeirfiheofwq
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
|
2021-01-26 19:19:57 +04:00 |
|
Ayyan
|
7cd4fda3f4
|
feat(controllers): add INTEGRATION* gateway events (#459)
* feat(controllers): add INTEGRATION* gateway events
* suggestions
* forgive me, i am forgetful :P
* Update src/types/options.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
|
2021-01-26 18:32:43 +04:00 |
|
ayntee
|
683900236f
|
Remove tests
|
2021-01-26 13:16:53 +04:00 |
|
ITOH
|
95a2b7a74d
|
feat(util): add camelToSnakeCase() & snakeToCamelCase() (#473)
* Update utils.ts
* add tests
* Update utils.test.ts
* void unnecessary
* Apply suggestions from code review
Co-authored-by: Ayyan <ayyantee@gmail.com>
* Update src/util/utils.ts
Co-authored-by: Ayyan <ayyantee@gmail.com>
* Update utils.ts
* remove object test
* some name changes
Co-authored-by: Ayyan <ayyantee@gmail.com>
|
2021-01-26 12:44:25 +04:00 |
|
Ayyan
|
0fd258d834
|
Attempt to fix CI (#470)
|
2021-01-26 11:47:41 +04:00 |
|
ITOH
|
7c3743e024
|
refactor(handlers): resolve RequestManager.<method> using await before returning the value (#468)
* Update channel.ts
* Update gateway.ts
* Update guild.ts
* Update member.ts
* Update message.ts
* Update oauth.ts
* Update webhook.ts
* move things arrouond
* Update guild.ts
* Update src/api/handlers/webhook.ts
* stop linter complains
* add this back
Co-authored-by: Ayyan <ayyantee@gmail.com>
|
2021-01-26 11:43:45 +04:00 |
|
Ayyan
|
17959bc1c8
|
Revert "feat(util): add camelToSnakeCase() & snakeToCamelCase() (#463)" (#469)
This reverts commit 08d685743a.
|
2021-01-26 10:51:36 +04:00 |
|
ITOH
|
08d685743a
|
feat(util): add camelToSnakeCase() & snakeToCamelCase() (#463)
* Update utils.ts
* add tests
* Update utils.test.ts
* void unnecessary
* Apply suggestions from code review
Co-authored-by: Ayyan <ayyantee@gmail.com>
* Update src/util/utils.ts
Co-authored-by: Ayyan <ayyantee@gmail.com>
* Update utils.ts
* remove object test
* some name changes
Co-authored-by: Ayyan <ayyantee@gmail.com>
|
2021-01-26 10:45:30 +04:00 |
|