Commit Graph
1492 Commits
Author SHA1 Message Date
rigormorrtiss 4e7d9053d1 change(types): rename eventHandlers.ts to event_handlers.ts (#951) 2021-05-18 18:30:54 +02:00
ITOH ac2ce0f988 change: don't use mod.ts to import types internally 2021-05-17 22:45:11 +02:00
9555de5ad3 add: stage instances events (#944)
* feat: add stage instances events

* feat: add stage instances events

* Add new line

* Add new lines

* Sort event declaration alphabetically

* Move to types/discordeno

* Update src/types/discordeno/eventHandlers.ts

* Update src/types/discordeno/stage_instance.ts

* Update src/types/guilds/guild.ts

* Apply suggestions

* Commit from GitHub Actions (Lint)

* Remove DiscordenoStageInstance

* Directly pass data.d

* Commit from GitHub Actions (Lint)

Co-authored-by: rigormorrtiss <rigormorrtiss@users.noreply.github.com>
Co-authored-by: itohatweb <to@itoh.at>
2021-05-17 20:57:16 +02:00
Skillz4Killz 324df8f0f2 Update src/bot.ts 2021-05-17 09:40:00 -04:00
QuantumlyTangled a505ed48cb fix: revert name change 2021-05-17 14:44:44 +02:00
QuantumlyTangled 9382e2e921 fix: event handlers reference 2021-05-17 14:43:33 +02:00
QuantumlyTangled 2e2de99565 refactor: make event handler types a type (#948)
* refactor: make event handler types a type

* refactor: use proper naming

* refactor: correct implementation naming

* refactor: add back comments

* fix: cleanup import statement
2021-05-16 23:03:12 +02:00
QuantumlyTangled b4d00f1829 refactor: add documentation about "private" variable 2021-05-16 17:09:14 +02:00
QuantumlyTangled 5271fb0dcf refactor: make events proxy a plugin 2021-05-16 17:01:34 +02:00
QuantumlyTangled bc14968b88 refactor: use reference 2021-05-16 14:43:24 +02:00
QuantumlyTangled 0059eba00f feat: event proxying 2021-05-16 14:26:08 +02:00
ITOH d4fd9f2e6b change: update deps 2021-05-15 12:59:33 +02:00
ITOH 693ddfe87c Merge branch 'more-changes' of https://github.com/discordeno/discordeno into more-changes 2021-05-15 12:42:36 +02:00
ITOH 06a3aeda4b fix: member.joinedAt can be undefined 2021-05-15 12:42:30 +02:00
itohatweb 3bd9340970 Commit from GitHub Actions (Lint) 2021-05-15 10:28:28 +00:00
ITOH 22b15230c4 split up type exports 2021-05-15 12:28:06 +02:00
ITOH 5f2e0973e5 fix: application object got moved 2021-05-15 11:40:53 +02:00
ITOH 613aa1a71d change: move application types to applications folder 2021-05-15 11:37:42 +02:00
ITOH 32b684784b change: member.joinedAt can be undefined 2021-05-15 11:32:21 +02:00
ITOH f1fe6d187f add: new rpc types & fix: rpc.notification type 2021-05-15 11:21:23 +02:00
ITOH 47cdbc3401 fix: community guilds can set descriptions now 2021-05-14 20:58:20 +02:00
ITOH 0c3b07e396 add: new ApplicationWebhook type 2021-05-14 20:56:39 +02:00
rigormorrtiss d13bbc1d14 fix(types): joinedAt is nullable (#932) 2021-05-14 19:43:00 +01:00
306e409118 fix: improve stack errors (#940)
* fix: improve stack errors

* test without new Error

* use stack error

* Commit from GitHub Actions (Lint)

* last idea

* change it again

* remove: errorStack in payload

* Update run_method.ts

Co-authored-by: Skillz4Killz <Skillz4Killz@users.noreply.github.com>
Co-authored-by: ITOH <to@itoh.at>
2021-05-13 22:24:07 +01:00
ITOH 0ad38809c4 satisfy lint 2021-05-13 19:30:57 +02:00
ITOH 68fef1d74c remove: startBigBrainBot 2021-05-13 19:30:26 +02:00
ITOH c0c1ef4512 fix: lastShardId bug in sbbb 2021-05-13 19:26:33 +02: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 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