Commit Graph

5354 Commits

Author SHA1 Message Date
ITOH
1ff48bc446 add queueCounter 2021-04-15 09:15:35 +02:00
ITOH
62c2caed99 fix: spawnShards wrong loop debug data 2021-04-15 09:15:03 +02:00
ITOH
f3f7eacc1c fix: don't reset ws.processQueue counter on every new loop 2021-04-15 09:14:40 +02:00
ITOH
6d497b1277 fix Discord Heartbeat request
We assume that discord only sends it while we don't have hit the 120 request limit
2021-04-15 09:13:52 +02:00
ITOH
64034b9e7d Merge pull request #861 from discordeno/fix-ready-handle-delay
fix: move createNextShard to ws
2021-04-14 23:16:04 +02:00
Skillz4Killz
ff5d086562 fix: move createNextShard to ws 2021-04-14 20:23:58 +00:00
ITOH
d4fdd88e50 add missing type export 2021-04-14 21:18:57 +02:00
ITOH
de93b0ae20 Merge pull request #859 from discordeno/ws-fixxxxxxeessssssss
fix some ws things (better title later when I found and finished fixing stuff)
2021-04-14 21:13:13 +02:00
ITOH
07587f42a1 queueStartedAt 2021-04-14 21:05:40 +02:00
Exists
3133e1015d Fix test name
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2021-04-14 14:03:01 -05:00
ITOH
3f77e8e9e1 Update process_queue.ts 2021-04-14 21:00:11 +02:00
ITOH
6a0f2fdef5 Update resume.ts 2021-04-14 20:59:51 +02:00
Skillz4Killz
f223d654bd Commit from GitHub Actions (Lint) 2021-04-14 18:55:58 +00:00
Skillz4Killz
29e682ed30 fix: random heartbeat request 2021-04-14 18:55:30 +00:00
ITOH
1235a08f29 Merge branch 'main' into ws-fixxxxxxeessssssss 2021-04-14 20:54:40 +02:00
Exists
c7a21b7a84 Formatting 2021-04-14 14:28:44 -04:00
Exists
3b41656c09 Rework channel clone tests
- Removed previous channel clone test
- Copied over create channel tests and modified `ifItFailsBlameWolf` to check against a clone instead of created
2021-04-14 14:14:37 -04:00
Skillz4Killz
dc27bc3da1 fix: delay each shard by 5 seconds 2021-04-14 18:06:41 +00:00
Skillz4Killz
70a4a1f955 fix: use private close clode 2021-04-14 18:06:11 +00:00
Exists
fea973b346 Editing return type on channel clone method
Changed return type of `clone` to reflect `cloneChannel`. Removed unused import for `createChannel`.
2021-04-14 13:33:08 -04:00
Exists
3088cc0693 Convert overwrites
- Removed integration in createChannel
- Converting from DiscordOverwrite to Overwrite in cloneChannel function
2021-04-14 13:28:59 -04:00
ITOH
1019a05cc4 bug 2021-04-14 19:23:26 +02:00
ITOH
4c097d4e17 add queueMinuteTimestamp 2021-04-14 19:10:55 +02:00
Exists
215141171a Fix formatting (deno fmt) 2021-04-14 13:09:47 -04:00
Exists
ce36477426 Merge branch 'main' of https://github.com/existentiality/discordeno into main 2021-04-14 13:06:34 -04:00
Exists
3d5bdc4605 Suggested changes to cloneChannel
- Removed name check
- Added DM channel check
2021-04-14 13:06:21 -04:00
Exists
d3ed1e03e7 Formatting Changes
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-14 11:41:57 -05:00
ITOH
54ce040120 fix old interval continues after new identify 2021-04-14 18:30:59 +02:00
ITOH
74f874482e just beat ws directly 2021-04-14 18:24:36 +02:00
ITOH
41a0ce0a4e reserve 2 calls for heartbeating 2021-04-14 18:07:39 +02:00
ayntee
b92c94bc2d ci(deploy): use add-and-commit 2021-04-14 18:16:20 +04:00
Skillz4Killz
ef88a57a38 Update src/helpers/channels/clone_channel.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-14 08:47:46 -04:00
Skillz4Killz
4183ffd21d Update src/helpers/channels/clone_channel.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-14 08:47:21 -04:00
Skillz4Killz
6063bc0aff Update src/helpers/channels/clone_channel.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-14 08:46:18 -04:00
Skillz4Killz
084d149598 Update src/helpers/channels/clone_channel.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-14 08:46:02 -04:00
ITOH
38bf6727ba add: editWelcomeScreen function 2021-04-14 10:40:56 +02:00
ITOH
2d30086863 add: ModifyGuildWelcomeScreen type 2021-04-14 10:40:12 +02:00
Exists
bfb3502252 Fix Linting Issue 2021-04-14 04:09:00 -04:00
Exists
1a1ef34a96 Add channel cloning
Changes:
    - Added function cloneChannel
    - Modified createChannel to support cloneChannel
   - Added clone(reason) method on channel structure
    - Added channel cloning tests
2021-04-14 04:01:35 -04:00
ITOH
9d4306ff39 add: getWelcomeScreen 2021-04-14 09:53:37 +02:00
ITOH
02e1495988 add: GUILD_WELCOME_SCREEN endpoint 2021-04-14 09:53:24 +02:00
TriForMine
d3e5f537d3 tests: add invites tests (#855)
* tests: add invites tests

Co-authored-by: TriForMine <TriForMine@users.noreply.github.com>
2021-04-14 08:26:39 +01:00
ITOH
3dd75098b1 Merge pull request #854 from discordeno/discord-prs
Discord prs
2021-04-14 09:21:10 +02:00
ITOH
4e9295c71e Merge branch 'main' into discord-prs 2021-04-14 09:17:33 +02:00
ayntee
a854219b81 feat: add support for stage channels (#728)
* feat: add support for stage channels

* idk

* Add helpers for voice state

* Rename updateUserVoiceState() to updateVoiceState()

* Update src/types/channels/channel_types.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/guilds/update_user_voice_state.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/guilds/update_bot_voice_state.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-14 11:11:22 +04:00
ITOH
3c85b16cfe Update mod.ts 2021-04-14 09:05:18 +02:00
ITOH
8098910d3d remove broken imports 2021-04-14 09:02:00 +02:00
ITOH
ea221bba5a https://github.com/discord/discord-api-docs/pull/2800 2021-04-14 08:51:54 +02:00
ITOH
e3442f01b7 https://github.com/discord/discord-api-docs/pull/2799 2021-04-14 08:51:24 +02:00
ITOH
381556cb5a https://github.com/discord/discord-api-docs/pull/2790 2021-04-14 08:50:38 +02:00