Commit Graph

226 Commits

Author SHA1 Message Date
itohatweb 3549cdeb63 Prettified Code! 2021-05-21 15:51:33 +00: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 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
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 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 8c43f36424 just fmt 2021-05-13 10:47:20 +02:00
ITOH 103d3d3b3e fix: use ws.maxShards 2021-05-08 17:53:36 +02:00
ITOH 123458859d change: check guild in mentions check 2021-05-08 14:30:49 +02:00
itohatweb 691ed973f1 Commit from GitHub Actions (Lint) 2021-05-07 14:27:37 +00:00
ITOH 63d633bf48 Update GUILD_UPDATE.ts 2021-05-07 16:27:12 +02:00
ITOH 7ff0d242ff hopefully the last dir change 2021-05-05 20:06:32 +02:00
ITOH b892bdaa9d deno extension has bad linter 2021-05-05 18:13:18 +02:00
ITOH 29808b6f01 Merge branch 'change-cache-members' of https://github.com/discordeno/discordeno into change-cache-members 2021-05-05 18:09:58 +02:00
ITOH 7e37a90bb9 more things 2021-05-05 18:09:39 +02:00
Skillz4Killz 9b300ec411 Merge branch 'main' into change-cache-members 2021-05-05 12:08:45 -04:00
ITOH 4533e6356b this is not async anymore 2021-05-05 17:51:23 +02:00
ITOH 828447e94e Update READY.ts 2021-05-05 16:27:02 +02:00
ITOH aefd5c75f5 fix changes 2021-05-04 21:05:43 +02:00
ITOH c60422a23f Merge branch 'main' into threads 2021-05-04 17:45:38 +02:00
ITOH 320180edee add type to all type imports for handlers 2021-05-04 12:17:24 +02:00
ITOH 9e05a0c4fa add: new thread events 2021-05-03 21:46:46 +02:00
ITOH 781a3e71c0 Update THREAD_UPDATE.ts 2021-05-03 21:46:30 +02:00
ITOH c2175cc339 add: handleThreadMembersUpdate 2021-05-03 21:46:26 +02:00
ITOH fb8e232d2f Update THREAD_LIST_SYNC.ts 2021-05-03 21:46:19 +02:00
ITOH 49eb18d848 Update THREAD_DELETE.ts 2021-05-03 21:46:17 +02:00
ITOH 6afe31ad55 add: handleThreadMemberUpdate 2021-05-03 21:19:44 +02:00
ITOH f91bf2871f Merge branch 'main' into threads 2021-05-03 20:50:53 +02:00
Skillz4Killz 3d39b3878a change: ids to use bigint instead of string (#892)
* p1 of bigints change

* shtuff fixes and bits

* Commit from GitHub Actions (Lint)

* finish bigint structs

* typings fixes

* Commit from GitHub Actions (Lint)

* more fixes

* Commit from GitHub Actions (Lint)

* more fixes

* Commit from GitHub Actions (Lint)

* blame wolf

* Commit from GitHub Actions (Lint)

* foxed

* Commit from GitHub Actions (Lint)

* fix unit tests

* Commit from GitHub Actions (Lint)

* change: guildUpdate guild ID can't change

* delete server has been renamed to delete guild

* fixes

Co-authored-by: Skillz4Killz <Skillz4Killz@users.noreply.github.com>
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-05-03 18:05:18 +01:00
ITOH 4f591320be add: THREAD_LIST_SYNC handlere 2021-05-02 21:26:08 +02:00
ITOH df03334464 use correct event handler function 2021-05-02 21:06:36 +02:00
ITOH 3fb9c80500 fix: unnecessary messages loop for non message channels 2021-05-02 20:59:40 +02:00
ITOH a094a1e7bd add: THREAD_DELETE event handler 2021-05-02 20:59:16 +02:00
ITOH 5e747a8cdf add: THREAD_UPDATE event handler 2021-05-02 20:51:09 +02:00
ITOH b148c67b6c add: THREAD_CREATE event handler 2021-05-02 20:50:58 +02:00
ITOH 1b7c777aa3 Update CHANNEL_UPDATE.ts 2021-05-02 20:50:46 +02:00
ITOH 51095db12f fix my renaming thing 2021-05-01 18:39:20 +02:00
Skillz 1637ca84b2 Merge branch 'main' of https://github.com/discordeno/discordeno into buttons-dropdowns 2021-05-01 08:20:04 -04:00
Skillz 6de8e1d428 buttons buttons and more buttons 2021-05-01 08:16:28 -04:00
ITOH 208b098ba2 fix some errors 2021-04-30 21:53:17 +02:00
ITOH be2bbbdd99 autoconvert handler messages 2021-04-24 23:17:11 +02:00
ITOH 98bf292aff fix lint 2021-04-15 18:06:31 +02:00
Skillz4Killz ff5d086562 fix: move createNextShard to ws 2021-04-14 20:23:58 +00: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
TriForMine a881f6b17c 2021-04-13 11:47:36 +00:00
TriForMine 0f8ca1dec2 fix(handlers): add if payload.mentions 2021-04-13 13:47:06 +02:00
Skillz4Killz 381ea450ac Merge branch 'main' of https://github.com/discordeno/discordeno into main 2021-04-12 18:23:56 +00:00
Skillz4Killz 3ce5871eb9 fix: few more typings errors 2021-04-12 18:22:47 +00:00