Commit Graph

34 Commits

Author SHA1 Message Date
Skillz4Killz 2427a5d2c8 handlers 2021-10-24 19:13:23 +00:00
ITOH c5ac3c3476 improve startup time .-. 2021-06-05 11:44:29 +02:00
ITOH 355d3cb582 better explanation 2021-05-27 16:57:34 +02:00
itohatweb 179add27c9 Prettified Code! 2021-05-21 15:55:49 +00:00
itohatweb 3549cdeb63 Prettified Code! 2021-05-21 15:51:33 +00:00
ITOH c16f211ce7 fix: shardReady should always be emitted when ready event is received 2021-05-13 18:49:38 +02:00
ITOH 64009aad7c change: pass shardId instead of the shard in shard events 2021-05-13 18:49:11 +02:00
ITOH 460af98807 Update READY.ts 2021-05-13 18:40:59 +02:00
ITOH 882787ac22 fix: checkReady return loaded() 2021-05-13 11:04:12 +02:00
ITOH 9b8fe4e336 change: implement new better unavailable check 2021-05-13 10:49:23 +02:00
ITOH 103d3d3b3e fix: use ws.maxShards 2021-05-08 17:53:36 +02:00
ITOH b892bdaa9d deno extension has bad linter 2021-05-05 18:13:18 +02:00
ITOH 7e37a90bb9 more things 2021-05-05 18:09:39 +02:00
ITOH 4533e6356b this is not async anymore 2021-05-05 17:51:23 +02:00
ITOH 828447e94e Update READY.ts 2021-05-05 16:27:02 +02:00
ITOH 320180edee add type to all type imports for handlers 2021-05-04 12:17:24 +02:00
Skillz4Killz 3d39b3878a change: ids to use bigint instead of string (#892)
* p1 of bigints change

* shtuff fixes and bits

* Commit from GitHub Actions (Lint)

* finish bigint structs

* typings fixes

* Commit from GitHub Actions (Lint)

* more fixes

* Commit from GitHub Actions (Lint)

* more fixes

* Commit from GitHub Actions (Lint)

* blame wolf

* Commit from GitHub Actions (Lint)

* foxed

* Commit from GitHub Actions (Lint)

* fix unit tests

* Commit from GitHub Actions (Lint)

* change: guildUpdate guild ID can't change

* delete server has been renamed to delete guild

* fixes

Co-authored-by: Skillz4Killz <Skillz4Killz@users.noreply.github.com>
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-05-03 18:05:18 +01:00
ITOH be2bbbdd99 autoconvert handler messages 2021-04-24 23:17:11 +02:00
Skillz4Killz ff5d086562 fix: move createNextShard to ws 2021-04-14 20:23:58 +00:00
ITOH b9bd29ebf8 fix 2021-04-12 09:30:45 +02:00
ITOH 7a6b4bf2d7 ref 2021-04-09 23:07:20 +02:00
ITOH dc9c33f0d4 f 2021-04-09 22:22:06 +02:00
ITOH 9312606100 lop 2021-04-09 21:37:13 +02:00
Skillz4Killz af997afc14 missing awaits 2021-04-09 15:57:46 +00:00
ITOH ee4be53a45 f 2021-04-08 18:51:50 +02:00
Skillz4Killz 47ed6f5652 fix: remove basicShards and allowNextShard (#755) 2021-04-05 09:37:25 +04:00
Skillz4Killz e7d9b58c81 fix: import of DiscordGatewayPayload 2021-04-04 00:34:08 +00:00
ayntee 79d57f0377 chore: fix import and exports 2021-03-29 23:47:31 +04:00
ayntee eaff54f90f refactor: rename *ID to *Id (#710)
* refactor: rename *ID to *Id

* Update src/helpers/commands/delete_slash_command.ts

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

* Update src/helpers/commands/delete_slash_command.ts

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

* Update src/helpers/commands/delete_slash_response.ts

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

* Update src/helpers/commands/edit_slash_response.ts

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

* Update src/util/utils.ts

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

* Update src/util/utils.ts

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

* Update src/util/utils.ts

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

* Update src/util/utils.ts

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

* Update src/util/utils.ts

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

* Update src/helpers/commands/get_slash_command.ts

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

* Update src/helpers/commands/send_interaction_response.ts

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

* Update src/helpers/commands/upsert_slash_command.ts

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

* Update src/helpers/guilds/edit_widget.ts

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

* Update src/helpers/guilds/get_widget.ts

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

* Update src/helpers/guilds/get_widget.ts

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

* Update src/helpers/guilds/get_widget_image_url.ts

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

* Update src/helpers/guilds/get_widget_image_url.ts

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

* Update src/helpers/guilds/get_widget_settings.ts

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

* Update .gitignore

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

* Update LICENSE

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

* Update src/helpers/members/edit_bot_profile.ts

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

* Update src/helpers/members/edit_bot_profile.ts

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

* Update src/helpers/webhooks/create_webhook.ts

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

* Update src/helpers/webhooks/delete_webhook.ts

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

* Update src/util/constants.ts

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

* Update src/helpers/webhooks/edit_webhook.ts

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

* Update src/helpers/webhooks/execute_webhook.ts

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

* Update src/helpers/webhooks/get_webhook.ts

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

* Update src/rest/cache.ts

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

* Update src/rest/request.ts

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

* Update src/util/constants.ts

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

* Update src/helpers/commands/delete_slash_response.ts

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

* Update src/util/constants.ts

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

* Update src/util/constants.ts

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

* Update src/util/constants.ts

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

* Update src/util/constants.ts

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

* Update src/util/utils.ts

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

* Update src/util/utils.ts

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

* Revert docs file

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-03-29 21:03:46 +04:00
ayntee b1512e0334 types: add gateway events types 2021-03-27 12:03:55 +04:00
ITOH c91c9d0870 types: remove entire types (#684) 2021-03-23 19:14:26 +04:00
ayntee e4fc09069f style: format files 2021-03-20 10:08:30 +04:00
ayntee 5125ffd308 refactor: replace util/cache with cache 2021-03-20 10:06:57 +04:00
ayntee e852dc315a fix: export aliases from mod.ts 2021-03-15 15:41:46 +04:00