Commit Graph

1379 Commits

Author SHA1 Message Date
ayntee
585ed283fe test(main): remove auto-deletion of guilds 2021-03-01 21:57:59 +04:00
ayntee
832cb63460 test(main): close websocket instead of Deno.exit() (#560) 2021-03-01 20:56:17 +04:00
ayntee
0ec769fad0 chore: remove 'deno.unstable' from settings.json 2021-03-01 15:33:45 +04:00
ayntee
848e3d5ced style(docs/faq): run deno fmt 2021-03-01 15:19:09 +04:00
Dhruvin-Purohit
04dbdaf2e0 docs(faq): fix spelling and grammatical errors (#558)
* feat(grammar): Common Mistakes.

* Update docs/src/faq.md

Co-authored-by: ayntee <ayyantee@gmail.com>
2021-02-28 22:52:30 +04:00
Dhruvin-Purohit
684f827bd7 docs(README): fix grammatical error (#557)
* feat(grammar): fixed a mistake.

resources is a plural word but is being used as a singular word here

* Update docs/src/README.md

Co-authored-by: ayntee <ayyantee@gmail.com>
2021-02-28 13:12:14 +04:00
ayntee
56ae257f02 docs(README): add link to invalid request limit (#552)
* docs(README): add link to invalid request limit

* style: format README.md
2021-02-28 00:06:45 +04:00
ayntee
a72bf9bb2e test: remove weird workaround (#556) 2021-02-28 00:05:01 +04:00
ayntee
7a52f301b3 fix(util/permissions): move owner check before member cache check (#555) 2021-02-27 23:54:37 +04:00
ITOH
8f8f988e2b fix(structures/channel): empty guildID in Channel struct (#551) 2021-02-26 22:11:02 +04:00
ayntee
7b482aeed1 fix(rest/queue): logical error in response status handling (#549) 2021-02-26 21:18:10 +04:00
ayntee
03ffb63f0f build: update dependencies to latest (#550) 2021-02-26 14:54:07 +04:00
ITOH
369c3d0ce2 fix(rest): proxy 204 response remove from queue (#545)
Co-authored-by: ayntee <ayyantee@gmail.com>
2021-02-25 22:52:25 +04:00
ayntee
ea42687623 docs(LICENSE): remove license clause 2021-02-25 22:15:33 +04:00
ayntee
a6ba23553b feat(ws/shard): add closeWS() function (#543)
* feat(ws/shard): add closeWS() function

* foolproof reason lol

* feat(ws/shard): handle 3069 close code

* be less verbose 😂
2021-02-25 22:12:22 +04:00
ayntee
f98c48beed docs(LICENSE): capitalize "d" 2021-02-25 22:10:54 +04:00
Skillz4Killz
08804e9acc Merge pull request #538 from discordeno/fix-rest-prxxxx
fix(rest): fix standalone REST queue
2021-02-25 12:52:15 -05:00
Skillz4Killz
15378d782f Merge pull request #544 from itohatweb/fixing-fixes
fixing some bugs
2021-02-25 12:43:52 -05:00
ITOH
53c22b20f7 Update requests.ts 2021-02-25 18:37:57 +01:00
ITOH
b55193a51c Update server.ts 2021-02-25 18:37:53 +01:00
ITOH
95d24d941a Update queue.ts 2021-02-25 18:37:49 +01:00
ITOH
5756e137a5 Update request_manager.ts 2021-02-25 18:37:23 +01:00
ITOH
2fcdbe5822 Update request.ts 2021-02-25 18:37:18 +01:00
ayntee
a5c1f75b55 😛 remove vim swap file 2021-02-25 20:50:01 +04:00
ayntee
266d16d367 build: update zlib & ed25519 to latest (#540) 2021-02-25 19:57:24 +04: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
Skillz4Killz
2d2af97957 Merge pull request #531 from ayntee/use-up-type
refactor: use updated identify payload instead
2021-02-21 12:05:00 -05: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
ayntee
c32d12b472 docs(README): mention usage of SemVer (#529) 2021-02-20 03:48:11 -05: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
Skillz4Killz
4b5bd750e8 Update Dockerfile 2021-02-14 14:06:56 -05:00
ayntee
ebb95dd285 docs(migrating): format file (#522) 2021-02-14 22:53:39 +04:00
ayntee
8b55f20d2f docs: rename discordeno/discordeno-boilerplate to discordeno/boilerplate (#521) 2021-02-14 22:39:55 +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) 10.3.0 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