Commit Graph

43 Commits

Author SHA1 Message Date
ITOH
03996c5f58 refactor: revert "feat: base plugin lib idea (#2308)" (#2336)
* Revert "feat: base plugin lib idea (#2308)"

This reverts commit ffe7cdbc6f.

* fmt
2022-07-02 14:24:43 +01:00
Skillz4Killz
1943fab075 fix: import error 2022-06-18 23:44:17 +00:00
Skillz4Killz
ffe7cdbc6f feat: base plugin lib idea (#2308)
* feat: base plugin lib idea

* fix: stuff

* fmt

* fix: imports and exports

* fix: errors & tests

* fix: remove logs
2022-06-18 18:46:37 -04:00
Skillz4Killz
5af4c2066e fix: propertie changes 2022-06-16 20:47:25 +00:00
ITOH
c7eb3a9b0c hotfix: release: 13.0.0-rc45
Fixed:
 - startBot shard data calculation
 - propper handling for websocket close code 1000

Changed:
 - shard shutdown code to 3000
2022-05-29 18:22:56 +02:00
ITOH
d50be0834e fix(gateway,bot): socket close debug handling & last/totalShards (#2261) 2022-05-29 17:39:27 +02:00
Skillz4Killz
47d3c29dad fix: remove confusion, old examples 2022-05-26 12:55:45 +00:00
ITOH
b469c98527 refactor(gateway,types,util)!: finalize gateway code (#2241)
* push some cursed stuff

* bucket

* fix bugs and hack start ordered

* some management improvements

* more gw stuff

* f

* rename manager to gateway

* remove basic thing

* remove old stuff

* f

* fix imp

* fixes
2022-05-25 22:27:49 +02:00
ITOH
d7883855ec refactor(.github,README,gateway,plugins/fileloader,tests,types)!: make intent calculation manual
This changes the calculation of intents to be manual to the dev.
This is to improve overall consistency of our code base, also it is not a big drawback for users since intents are usually done once and then never (seldom) touched again.
2022-05-24 23:16:01 +02:00
Skillz4Killz
f7e11d6ea6 fix: whoopsies 2022-05-18 18:55:19 +00:00
Skillz4Killz
85acfd4c2e fix: final shard bug not starting up 2022-05-18 18:32:47 +00:00
Skillz4Killz
a920c2be1b fix: remove unused log 2022-05-18 17:05:06 +00:00
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
LTS20050703
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
Skillz4Killz
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
Andreas Fink
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