Skillz4Killz
471ef5cb6c
fix(gatway): resharder bug ( #1979 )
...
* fix: resharder bug. TY giveawayboat 4 catching it
* fix: make handler set properly once resharded
* Update src/ws/resharder.ts
* Update src/ws/resharder.ts
* Update src/ws/resharder.ts
* Update src/ws/resharder.ts
* fix: allow flexible resharding for multi vps bots
* fix: allow overriding on close
* fix: separate resharding checks
* fix: dupes from conflict
* fix: requested changes
* Update src/ws/resharder.ts
Co-authored-by: ITOH <to@itoh.at >
* fix: gateway.resharding.x
* fix: allow editing guilds cached with new shard id
* fix: fmt
* Update src/ws/gateway_manager.ts
Co-authored-by: ITOH <to@itoh.at >
* Update src/ws/gateway_manager.ts
Co-authored-by: ITOH <to@itoh.at >
* Update src/ws/resharder.ts
Co-authored-by: ITOH <to@itoh.at >
* fix: use guildIds[] instead of per guildi d
* fix: use og name
* fix: dumb deno fmt
Co-authored-by: ITOH <to@itoh.at >
2022-02-10 23:43:29 +01:00
Skillz4Killz
86f5e69331
feat: rc19 release ( #2027 )
2022-02-09 19:18:09 +00:00
ITOH
75a8aaa064
feat(types): add value to InputTextComponent ( #2026 )
2022-02-09 14:08:49 -05:00
Yaikava
f1dbacb74b
fix(types): add missing message component exports ( #2025 )
...
* fix - types - export inputTextComponent
* export textStyles in mod.ts
2022-02-09 16:07:17 +00:00
LTS20050703
3b3663f2b9
refactor: remove unused imports ( #2021 )
...
* make lib faster (delete unused import)
* Revert deno.json change
* Missing }
2022-02-09 13:38:11 +01:00
Yaikava
a6f0287bbb
messageComponents - fix typo ( #2014 )
2022-02-09 01:21:56 -05:00
ITOH
3f1a1e73e6
refactor(rest)!: move createRestManager to rest module ( #2013 )
2022-02-08 18:05:51 -05:00
ITOH
d2297d5f39
refactor(gateway)!: move createGatewayManager to gateway module ( #2012 )
2022-02-08 16:25:46 -05:00
Skillz4Killz
104f0680e9
fix(gateway): reserve 4 gw requests for heartbeating ( #2006 )
2022-02-07 17:35:38 +00:00
Skillz4Killz
ef5b25b319
test: fix unit tests related to code bugs ( #2001 )
...
* fix: get tests runnable
* fix: tests are now passing
* fix: 32 passing tests
* fix: deno fmt u dumb dumb work automatically for once in your life
* fix: 54 tests passing now
* fix: 94 passing, itoh was wrong he guess wrong hehe
* fix: remove debug logs
* fix: remove broken webhook test for now
Co-authored-by: ITOH <to@itoh.at >
2022-02-06 15:56:56 +00:00
ITOH
b70c3c8fcb
refactor!: do not store token prefixed with Bot ( #2002 )
2022-02-05 12:57:15 -05:00
ITOH
943e7af5ec
fix(types): handle communicationDisabledUntil correctly ( #1999 )
...
* types(GuildMemberUpdate): fix invalid type for `communicationDisabledUntil`
* types(transformers): parse `communicationDisabledUntil`
2022-02-04 22:40:09 +01:00
ITOH
f6e75fc328
style: run deno fmt
2022-02-04 22:40:09 +01:00
LTS20050703
2b7b0dd05f
discord-api-docs: Document Scheduled Event Covers ( #1960 )
...
* Document Scheduled Event Covers
* using iconHashToBigInt
* using undefined instead of null
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2022-02-04 22:40:08 +01:00
LTS20050703
931673a68d
discord-api-docs: Document partial member data in message interaction object ( #1958 )
...
* Document partial member data in message interaction object
* Update message transformer following MessageInteraction interface changes
* an attempt to transform partial member
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2022-02-04 22:40:08 +01:00
ITOH
81f8e0377c
style: move to deno fmt ( #1992 )
...
* Create deno.json
* run format
* run format
* ci: only check formatting
* f
* Update settings.json
* Update settings.json
2022-02-04 15:00:04 +01:00
lts20050703
f57aec3895
discord-api-docs: Add stickers on preview ( #1949 )
...
* Add stickers on preview
* update getGuildPreview
* Sticker transformer
* fix forgot to update stuff
2022-02-02 10:35:54 -05:00
lts20050703
1d6db1b56d
discord-api-docs: Document stage discovery as deprecated ( #1951 )
...
* Document stage discovery as deprecated
* delete Public from PrivacyLevel, discoverableDisabled from StageInstance
* Nuke discoveryDisabled and privacyLevel
2022-02-01 22:37:17 -05:00
Skillz4Killz
fe417cea37
Merge pull request #1959 from lts20050703/gh-1918
...
discord-api-docs: Document message flag FAILED_TO_MENTION_SOME_ROLES_IN_THREAD
2022-02-01 12:14:06 -05:00
Skillz4Killz
a8fb15f050
Merge pull request #1957 from lts20050703/gh-1915
...
discord-api-docs: Document error code 30046 (old message edit rate limit)
2022-02-01 12:12:55 -05:00
Skillz4Killz
1583d75489
Merge pull request #1956 from lts20050703/gh-1914
...
discord-api-docs: Adds error 50068
2022-02-01 12:12:45 -05:00
Skillz4Killz
3f2845b640
Merge pull request #1955 from lts20050703/gh-1911
...
discord-api-docs: Document thread.create_timestamp
2022-02-01 12:12:19 -05:00
Skillz4Killz
84e94f77c6
Merge pull request #1954 from lts20050703/gh-1906
...
discord-api-docs: Document X-Audit-Log-Reason on webhook endpoints
2022-02-01 12:11:16 -05:00
Skillz4Killz
a110097c9d
Merge pull request #1953 from lts20050703/gh-1905
...
discord-api-docs: document the required permission for retrieving the welcome screen when disabled
2022-02-01 12:10:34 -05:00
Skillz4Killz
b41a26bfa9
Merge pull request #1952 from lts20050703/gh-1904
...
discord-api-docs: Clarification on channel icons
2022-02-01 12:10:09 -05:00
Skillz4Killz
c13967c55b
Merge pull request #1950 from lts20050703/gh-1902
...
discord-api-docs: Error code 50086
2022-02-01 12:09:07 -05:00
Skillz4Killz
2a3d9e04c1
Merge pull request #1945 from discordeno/attachments
...
feat: attachment option
2022-02-01 12:08:49 -05:00
Skillz4Killz
f780aa4b4d
Merge pull request #1948 from lts20050703/gh-1900
...
Parse createEmoji and editEmoji bigint to string
2022-02-01 12:07:46 -05:00
Skillz4Killz
81062c2f11
Merge pull request #1947 from lts20050703/gh-1898
...
discord-api-docs: Document thread invitable audit log change key
2022-02-01 12:06:43 -05:00
Skillz4Killz
5d67d29e4c
Merge pull request #1946 from lts20050703/gh-1896
...
discord-api-docs: Document supported option types for autocomplete
2022-02-01 12:06:19 -05:00
Skillz4Killz
4b1bdebb1b
Merge pull request #1943 from lts20050703/gh-1912
...
Date.parse member.communicationDisabledUntil
2022-02-01 12:05:04 -05:00
lts20050703
b7d50a1ed4
Do not use spread syntax ... in createWebhook and editWebhook
2022-01-28 17:47:20 +07:00
lts20050703
36216f3f4a
communicationDisabledUntil shouldn't be null
2022-01-28 14:02:31 +07:00
Skillz4Killz
0e4caf1c47
feat: attachment option
2022-01-28 02:04:35 +00:00
lts20050703
5cccd603d0
communicationDisabledUntil: discord return string, discordeno return number
2022-01-28 07:55:03 +07:00
lts20050703
c49eed4890
fix rest runMethod body logic
2022-01-28 07:45:14 +07:00
lts20050703
047e8b69d4
createTimestamp: discord return string, discordeno return number
2022-01-28 07:41:23 +07:00
lts20050703
d155ea82db
createTimestamp should be number
2022-01-28 07:37:46 +07:00
lts20050703
105265b632
member.communicationDisabledUntil should be string
2022-01-27 17:04:11 +07:00
lts20050703
7f65c70733
Add invitable and createTimestamp to Channel & DiscordenoChannel interface
2022-01-27 16:59:22 +07:00
lts20050703
e8579d6b45
Fix channel transformer
2022-01-27 10:22:36 +07:00
lts20050703
78dae37dc1
fix TypeError: Request with GET/HEAD method cannot have body.
2022-01-27 10:04:36 +07:00
lts20050703
38cb526100
should be string
2022-01-26 22:58:37 +07:00
lts20050703
c1975f70f1
Document thread.create_timestamp
2022-01-26 18:02:37 +07:00
lts20050703
55a7c03143
Bots cant be in group therefore remove icon from channel interface
2022-01-26 17:32:38 +07:00
lts20050703
9e3195c3d4
BREAKING CHANGE remove unused deleteWebhook function channelId parameter
2022-01-26 17:22:59 +07:00
lts20050703
445f8bb085
BREAKING CHANGE remove unused editWebhook function channelId parameter
...
and add comments to createWebhook and modifyWebhook interfaces' reason
2022-01-26 17:19:31 +07:00
lts20050703
6b86250546
Document message flag FAILED_TO_MENTION_SOME_ROLES_IN_THREAD
2022-01-26 16:49:59 +07:00
lts20050703
7f9fa9aa6d
Document error code 30046 (old message edit rate limit)
2022-01-26 11:02:24 +07:00
lts20050703
4d62333f84
Adds error 50068
2022-01-26 10:59:40 +07:00