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
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
Skillz4Killz
dc9615bb8a
feat: slash dm ( #846 )
...
* chore: cleanup comments
* feat: slash in dm and better event args
Co-authored-by: Skillz4Killz <Skillz4Killz@users.noreply.github.com >
2021-04-13 18:28:31 +01:00
Skillz4Killz
72618947f0
feat: implement gateway queue ( #844 )
...
* feat: implement gateway queue
* process queues when adding to queue
* fix: tests fixed ready for review
* handle shard closed
Co-authored-by: Skillz4Killz <Skillz4Killz@users.noreply.github.com >
2021-04-13 17:29:35 +01:00
ayntee
b633689d3a
Format files
2021-04-13 06:05:20 +00:00
Skillz4Killz
0c91f978d2
feat: support auto 16x and multi-shard for LBS
2021-04-12 21:58:29 +00:00
ayntee
1cbc1b8f82
fmt files damn son
2021-04-12 23:13:37 +04:00
Skillz4Killz
8523a5ceea
fix: more typing errors
2021-04-12 18:09:15 +00:00
Skillz4Killz
f7024a5bf0
fix(ws): startBot botGatewayData & maxShard ( #839 )
...
* this is for u tri!
* fix more
2021-04-12 16:39:34 +01:00
Skillz4Killz
51e27d8f17
types: fix new types issues ( #829 )
...
* feat: add tests for deleting channel overwrites
* fix: typings
2021-04-12 07:26:55 +01:00
ITOH
9312606100
lop
2021-04-09 21:37:13 +02:00
Skillz4Killz
e09515cfe9
another missing await
2021-04-09 16:11:37 +00:00
Skillz4Killz
af997afc14
missing awaits
2021-04-09 15:57:46 +00:00
Skillz4Killz
9c53a67dd3
fix: rest method uppercase
2021-04-09 14:41:31 +00:00
Skillz4Killz
03d01463e1
deno fmt
2021-04-09 14:41:23 +00:00
Skillz4Killz
7fa8e3a552
use unpkg
2021-04-09 01:17:41 +00:00
Skillz4Killz
e7382fffaa
deno fmt
2021-04-08 21:21:39 +00:00
Skillz4Killz
417ec0400d
tests are succeeding
2021-04-08 21:18:01 +00:00
Skillz4Killz
ad87124bca
more stuff
2021-04-08 19:26:38 +00:00
ITOH
ee4be53a45
f
2021-04-08 18:51:50 +02:00
Skillz4Killz
28628724d6
fix: remove extra console log
2021-04-08 16:29:54 +00:00
Skillz4Killz
2babaf5991
deno fmt
2021-04-08 14:35:33 +00:00
Skillz4Killz
d016fc3764
some ws fixes
2021-04-08 14:34:37 +00:00
Skillz4Killz
3576d98510
fix: rest errors preventing startup
2021-04-08 14:14:30 +00:00
ITOH
2e397325f5
fix: ID > Id ( #754 )
...
* Update bot.ts
* id id
2021-04-04 21:51:01 +04:00
Skillz4Killz
1b8161e85b
refactor: cleanup and fmt
2021-04-04 12:54:33 +00:00
Skillz4Killz
535f27c734
refactor: merge both shard systems
2021-04-04 12:47:02 +00:00
Skillz4Killz
181bdffb41
Merge branch 'main' of https://github.com/discordeno/discordeno into proxy-ws
2021-04-04 12:28:39 +00:00
Skillz4Killz
7aac53e44c
fix: imports from mod.ts are bad
2021-04-04 00:42:02 +00:00
ayntee
5ef292cc78
fix(ws/shard): add missing import
2021-04-02 23:22:58 +04: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
ITOH
2914874d19
types: add gateway opcodes enum ( #711 )
...
* bring opcodes enum back
* Update src/types/gateway/opcodes.ts
Co-authored-by: ayntee <ayyantee@gmail.com >
* DiscordGatewayOpcodes
Co-authored-by: ayntee <ayyantee@gmail.com >
2021-03-29 20:58:33 +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
314bef2055
Merge branch 'main' of https://github.com/discordeno/discordeno
2021-03-16 22:38:54 +04:00
ayntee
4ae893aebd
deps: update @evan/wasm to latest
2021-03-16 22:38:02 +04:00
ITOH
2d55decce5
refactor: use guildID and shardID as args in requestAllMembers() & fetchMembers() ( #671 )
...
* change args of requestAllMembers
* change args of fetchMembers
* fix getMembersByQuery
Co-authored-by: ayntee <ayyantee@gmail.com >
2021-03-15 19:19:18 +04:00
ayntee
8654aeded5
refactor: rename controllers to handlers and handlers to helpers ( #660 )
...
* refactor: rename controllers to handlers and handlers to helpers
* fmt
2021-03-11 21:41:03 +04:00
ayntee
aaed064709
refactor(controllers): separate controllers into different files ( #657 )
...
* refactor(controllers): separate controller into files
* add CHANNEL_UPDATE
* guilds
* interactions
* members
* messages
* finally
* done
* fix ci
* fixes
2021-03-11 20:38:27 +04:00
ITOH
372dc9988b
fix(controllers/READY): reimplement guild cache mechanism ( #647 )
...
* add lastShardID
* fix ready event controller
* forgot to push this file
* move ready to its own file
* some changes
* Update READY.ts
* some changes idk if they are good
* Update options.ts
* Update READY.ts
* Update guilds.ts
2021-03-11 18:09:59 +04:00
ayntee
45a3246370
fix(ws/shard): update status update payload ( #559 )
...
* fix(ws/shard): update status update payload
* :(
* Update src/types/discord.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com >
* it\'s activitypayload
* Update src/types/discord.ts
* idk
* idk
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com >
2021-03-08 19:41:20 +04:00
Skillz
2f58804311
Merge branch 'master' of https://github.com/discordeno/discordeno into proxy-ws
2021-02-25 17:12:34 -05:00
Skillz
edd04e850b
fix secret key
2021-02-25 16:58:56 -05:00
Skillz
f38ba603e8
fix authorization
2021-02-25 16:58:46 -05:00