Commit Graph
31 Commits
Author SHA1 Message Date
Skillz4Killz 8cb912730b feat: remove token prefix util (#2191)
* feat: remove token prefix util

* fix: token substring

* fix: speed up unit tests
2022-05-08 11:34:33 -04:00
Skillz4Killz a882f58176 fix: omg still some left 2022-05-08 14:06:29 +00:00
Skillz4Killz 29ff5faecd fix: edge case ack crashes big bots (#2190) 2022-05-08 09:58:57 -04:00
Skillz4Killz 23357c78a5 Merge branch 'main' of https://github.com/discordeno/discordeno into main 2022-03-31 13:50:25 +00:00
Skillz4Killz 167bc73d75 fix: removes store channels 2022-03-31 13:50:19 +00:00
ITOH 9980856eef refactor!: fix some spelling mistakes (#2144)
* refactor!: fix some spelling mistakes
This fixes some spelling mistakes around the code base. Note not all are fixed.

* subComponent
2022-03-31 14:16:34 +02:00
Skillz4Killz aaa2312ea2 fix: better comments in spawnShards 2022-03-31 01:27:45 +00:00
Skillz4Killz cf61ed4d34 fix: use last shard id not maxShards 2022-03-31 01:27:23 +00:00
Skillz4Killz 381fbb485c fix: spawn shard delay to 5k 2022-03-30 22:59:39 +00:00
Skillz4Killz b5def1b95f fix: update wasm dep 2022-03-30 22:59:29 +00:00
Skillz4Killz 482a098bed fix: resharder reset maps/sets 2022-03-27 18:32:19 +00:00
LTS20050703andSkillz4Killz 086258d1ea fix mod.ts export (#2121)
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-03-22 11:28:33 -04:00
Skillz4Killz 6bda23296b fix: set lastSentAt on each heartbeat 2022-03-22 14:36:00 +00:00
Skillz4Killz efeec03354 fix: cleanup some old ts-ignores 2022-03-21 12:20:31 +00:00
Skillz4Killz 5c008d390f fix: dumb fmt shit plz auto do it 2022-03-20 10:22:20 +00:00
Skillz4Killz 187da7fcf1 fix: add type to gateway debug 2022-03-20 10:22:01 +00:00
Skillz4Killz 03c0d4022f fix: remove unused prop 2022-03-20 09:58:04 +00:00
Skillz4Killz 2673a31103 fix: mark shards as ready 2022-03-20 09:57:49 +00:00
Skillz4Killz 2a84ac982e fix: fmt 2022-03-16 02:00:10 +00:00
Skillz4Killz 3e10470160 fix: copy paste leftover detail 2022-03-16 00:48:33 +00:00
Skillz4Killz 056343cf5c fix: temp fix for resharding options 2022-03-15 23:55:30 +00:00
Skillz4Killz d62a5b71b1 fix: concurrency typo thx giveawayboat <3 2022-03-15 02:45:07 +00:00
Skillz4KillzandLTS20050703 a0a1554756 refactor: typings using ReturnType (#2105)
* fix: check new types idea

* fix: type errors

* fix: new style

* fix: more cleanup

* fix: more cleanup

* fix: cleanup audit logs

* fix: cleanup stickers

* fix: cleanup integrations

* fix: more cleanup

* fix: organize into 1 place

* fix: few errors

* fix: some broken import fixes

* fix: quite a lot of fixes across the board

* fix: more fixes for broken imports

* fix: more fixes for broken imports

* fix: handler imports

* fix: all remaining import errors

* fix: more errors needing fixes

* fix: clearing up transformers

* fix: few moer types

* fix: more cleanup of extra types

* fix: fmt

* fix: cleanup discordeno file

* Nuke Base Types (#2102)

* fix: cleanup snake stuff

* convert camelCase to snake_case (#2103)

* fix: add camelize

* fix: finalize remaining errors

* fix: imports in test

Co-authored-by: LTS20050703 <87189679+lts20050703@users.noreply.github.com>
2022-03-14 22:11:22 -04:00
Andreas Fink 8fb198f6d5 fix: allow presence to be passed into createGatewayManager (#2100) 2022-03-13 17:17:18 -04:00
Skillz4Killz 7e69f29217 fix: imports should be specific 2022-03-06 19:04:31 +00:00
Skillz4Killz df97380355 fix: bad import 2022-03-04 05:30:18 +00:00
Skillz4Killz 87dd8635ca fix: stop gateway ts errors 2022-03-02 06:00:11 +00:00
ad8a9920ac feat(gateway): add stopGateway function (#2078)
* Move the shard stopping to gatewayManager in order to stop the gateway standalone.

* Update gateway/gateway_manager.ts

Co-authored-by: ITOH <to@itoh.at>

* Update gateway/stopGateway.ts

Co-authored-by: ITOH <to@itoh.at>

* Update gateway/stopGateway.ts

* Update gateway/stopGateway.ts

* Update gateway/stopGateway.ts

Co-authored-by: ITOH <to@itoh.at>
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-02-28 13:41:15 -05:00
Skillz4Killz 4aac2246ad fix(gateway): rate-limit handling (#2079)
* fix: Closes Gateway Ratelimiting  #1886

* fix: fmt

* fix: invalid import
2022-02-28 13:39:45 -05:00
Skillz4Killz 0afd928650 fix: resharder bugs from testing gamer 2022-02-21 05:17:08 +00:00
ITOH cfbfb67c8e refactor!: rename the ws folder to gateway (#2037) 2022-02-11 05:21:10 -05:00