Commit Graph

2643 Commits

Author SHA1 Message Date
ITOH
6fce4cfb8b Merge pull request #936 from discordeno/some-new-way-of-handling-ready
change: check shard unavailability using last received guild create event
2021-05-13 18:16:23 +01:00
ITOH
f228e4216e Merge branch 'some-new-way-of-handling-ready' of https://github.com/discordeno/discordeno into some-new-way-of-handling-ready 2021-05-13 19:07:58 +02:00
ITOH
6c44123b7e Update bot.ts 2021-05-13 19:07:24 +02:00
itohatweb
bd9a34a008 Commit from GitHub Actions (Lint) 2021-05-13 17:02:41 +00:00
ITOH
64e433f461 fix: set last shard id 2021-05-13 19:02:16 +02: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
076ff2b1d9 Merge branch 'main' into some-new-way-of-handling-ready 2021-05-13 18:40:25 +02:00
ITOH
f39879b756 Merge pull request #938 from discordeno/use-last-shard-id-not-max-hsards
fix: lastShardId instead of maxShards
2021-05-13 17:39:40 +01:00
ITOH
70deeece68 Merge pull request #928 from discordeno/command-names-have-to-be-lowercase
change: command names can only be lowercase
2021-05-13 17:39:29 +01:00
Skillz4Killz
5d4af852b5 fix: lastShardId instead of maxShards 2021-05-13 16:07:43 +00:00
itohatweb
b63be48b43 Commit from GitHub Actions (Lint) 2021-05-13 11:30:43 +00:00
ITOH
bbd9aa7f98 Update bot.ts 2021-05-13 13:30:20 +02:00
ITOH
74c6fbdae6 remove: clone channel import 2021-05-13 11:57:35 +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
23b0e1d383 change: shard events pass the shard object 2021-05-13 10:49:01 +02:00
ITOH
3c1033022c add: lastAvailable param 2021-05-13 10:47:48 +02:00
ITOH
8c43f36424 just fmt 2021-05-13 10:47:20 +02:00
rigormorrtiss
a0bd415cbe style: fix lint warnings (#935) 2021-05-13 10:37:31 +04:00
rigormorrtiss
6e7a7efd1b ci(lint): remove unstable flag (#933) 2021-05-13 10:33:40 +04:00
rigormorrtiss
a6dced08bc fix(types): camelize pack_id field (#934) 2021-05-13 10:33:21 +04:00
ITOH
d600f250b7 fix: startThread await runMethod 2021-05-12 18:19:51 +02:00
ITOH
1bdd3f752f remove: debug console.log 2021-05-12 18:19:41 +02:00
ITOH
bb6c90afe9 fix: use helpers.createChannel instead of createChannel 2021-05-12 18:19:33 +02:00
ITOH
195a0d5e16 make it a bit easier to read 2021-05-12 18:19:09 +02:00
ITOH
5ca8e22cd3 fix: await cacheHandlers.filter 2021-05-12 18:18:59 +02:00
rigormorrtiss
275d17c6fe add: stage instances (#924)
* feat: implement stage instances

Reference: https://github.com/discord/discord-api-docs/pull/2898

* feat: implement stage instances

* Update src/types/misc/stage_instance.ts

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

* Update src/helpers/misc/delete_stage_instance.ts

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

* Update src/types/misc/stage_instance.ts

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

* Move stage instances related modules to channels module

* Move to channels

* Move to channels

* Add permission checks

* Add permissions checl

* Ad inhibitors

* style: fix lint warnings

* Do not throw & add import type

Co-authored-by: ITOH <to@itoh.at>
2021-05-12 14:57:45 +01:00
ITOH
911f4322b0 Merge pull request #930 from discordeno/add-missing-json-error-codes
add: missing JSON error codes
2021-05-12 14:12:16 +01:00
ITOH
6d8aa5597c fix: typo for alias export 2021-05-12 11:58:57 +02:00
ITOH
da136a27ba remove error import 2021-05-12 11:56:52 +02:00
ITOH
8693bd260d change: deleteInvite don't throw error if channel is not cached 2021-05-12 11:56:43 +02:00
ITOH
bf234c7744 Update clone_channel.ts 2021-05-12 11:56:07 +02:00
ITOH
5498f07946 fix(workflows): Deno coverage change 2021-05-12 11:11:52 +02:00
ITOH
0ea155db75 Merge branch 'main' into add-missing-json-error-codes 2021-05-12 09:29:07 +02:00
ITOH
b3ae46812b Merge pull request #929 from discordeno/add-team-name
add: team name param
2021-05-12 08:28:37 +01:00
rigormorrtiss
489ec3d9d7 add(structures): applicationId to Message (#923) 2021-05-12 08:27:48 +01:00
itohatweb
57ce99d10d Commit from GitHub Actions (Lint) 2021-05-12 07:18:50 +00:00
ITOH
85dfefcbd0 add: NoUsersWithDiscordTagExist error code 2021-05-12 09:18:28 +02:00
ITOH
0d5dd0d605 add: PaymentSourceRequiredToRedeemGift error code 2021-05-12 09:17:50 +02:00
ITOH
5d902230e1 add: CannotSelfRedeemThisGift error code 2021-05-12 09:17:19 +02:00
ITOH
ef87c3b75a add: InvalidRole error code 2021-05-12 09:16:44 +02:00
ITOH
f573e4bb62 add: MissingRequiredOAuth2Scope error code 2021-05-12 09:16:19 +02:00
ITOH
e32559c032 add: AnApplicationCommandWithThatNameAlreadyExists error code 2021-05-12 09:15:23 +02:00
ITOH
661cd59cd5 add: TargetUserIsNotConnectedToVoice error code 2021-05-12 09:14:50 +02:00
ITOH
f29c89dc6d add: YouAreOpeningDirectMessagesTooFast error code 2021-05-12 09:14:23 +02:00
ITOH
d93485d49c add: MaximumNumberOfEmojisReached error code 2021-05-12 09:13:08 +02:00
ITOH
850ecf30e9 add: MaximumNumberOfRecipientsReached error code 2021-05-12 09:12:37 +02:00
ITOH
1f63b96af3 add: OnlyTheOwnerOfThisAccountCanPerformThisAction error code 2021-05-12 09:11:33 +02:00