Commit Graph

2687 Commits

Author SHA1 Message Date
ITOH
d0b0a17bd1 Merge branch 'main' into collection-sweeper 2021-05-18 19:55:48 +02:00
rigormorrtiss
dd8c51f3d2 change: import types from specific files (#953)
* fix: import types from specific files

* Use import syntax for enums
2021-05-18 18:31:49 +02:00
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
itohatweb
a949e13398 Commit from GitHub Actions (Lint) 2021-05-17 19:13:56 +00:00
ITOH
34021d7d04 first add this 2021-05-17 21:13:33 +02:00
rigormorrtiss
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
dd3b11349c Merge pull request #949 from QuantumlyTangled/fix/eventhandlers/reference
fix: event handlers reference
2021-05-17 09:40:47 -04:00
Skillz4Killz
324df8f0f2 Update src/bot.ts 2021-05-17 09:40:00 -04:00
QuantumlyTangled
91d3b36097 feat: add tests for event 2021-05-17 14:48:21 +02: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
Skillz4Killz
f6401334cd Merge pull request #943 from rigormorrtiss/remove-ignore
change(workflows): lint remove ignore flag
2021-05-16 13:44:36 -04:00
Skillz4Killz
88d423d5f8 Merge pull request #945 from QuantumlyTangled/feat/possible-event-emitters
feat: event proxying
2021-05-16 13:44:07 -04: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
f40a010c6a Merge pull request #941 from discordeno/more-changes
add & change & fix some things
2021-05-16 10:47:00 +02:00
rigormorrtiss
151159c499 ci(lint): remove ignore flag 2021-05-16 11:14:07 +04: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
79c3435d6c change: proper example for interfaces 2021-05-15 11:13:52 +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) 11.0.0-rc.1 2021-05-14 19:43:00 +01:00
Skillz4Killz
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
Skillz4Killz
d47c1d9033 Merge pull request #939 from discordeno/more-channel-clone-test
tests: add more clone channel tests
2021-05-13 15:22:13 -04:00
Skillz4Killz
6ebd42003c Merge branch 'more-channel-clone-test' of https://github.com/discordeno/discordeno into more-channel-clone-test 2021-05-13 17:40:45 +00:00
Skillz4Killz
157b73eb5d fmt 2021-05-13 17:40:43 +00:00
Skillz4Killz
e438ec22c3 Commit from GitHub Actions (Lint) 2021-05-13 17:40:14 +00:00
Skillz4Killz
116b263ded with reason 2021-05-13 17:39:51 +00:00
Skillz4Killz
4da861babe tests: add more clone channel tests 2021-05-13 17:37:50 +00: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
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