Commit Graph

53 Commits

Author SHA1 Message Date
Skillz4Killz
6f6099abc6 fix tests and cache bugs 2021-10-29 15:46:36 +00:00
Skillz4Killz
98c1149162 shtuff 2021-10-29 14:04:44 +00:00
ITOH
76ce68ecf2 twilight > * 2021-10-28 22:54:38 +02:00
ITOH
679a879417 still broken 2021-10-28 20:37:13 +02:00
Skillz4Killz
823a0754e4 change: prettier code 2021-10-12 21:30:41 +00:00
Skillz4Killz
f93bcf9836 a few handlers 2021-10-12 21:30:01 +00:00
Skillz4Killz
201732bc7d remove unneeded cache 2021-10-12 19:14:47 +00:00
ITOH
924d2a82e7 Update cache.ts 2021-07-29 19:37:31 +02:00
cute savage
5b9de6a449 fix(structures): types for cache.requiredStructureProperties (#1083)
* make it compatible with requiredStructureProperties.messages' type

* Update message.ts

* Update cache.ts

* typo

* Update cache.ts

* Update cache.ts

* Update cache.ts

* Update guild.ts

* Update member.ts

* Update message.ts

* Update role.ts

* Update voice_state.ts

* Update member.ts

* Update member.ts

* Update member.ts

* fmt

Co-authored-by: ITOH <to@itoh.at>
2021-07-29 19:31:55 +02:00
rigormorrtiss
ac6f42598f add(structures): cache.requiredStructureProperties.members guilds prop to type (#1077) 2021-07-09 22:01:20 +01:00
ITOH
307d07b1cf unused import 2021-07-09 16:41:21 +02:00
ITOH
0ef5f18a69 Update cache.ts 2021-07-08 20:00:48 +02:00
ITOH
ea0673c259 change filter logic 2021-07-08 19:54:55 +02:00
ITOH
5f66c7950d change(cacheHandlers): forEach logic 2021-07-08 19:47:54 +02:00
Skillz4Killz
4510dc88c0 feat: requiredStructureProperties (#1068)
* example concept

* add to guilds also

* support members

* support message struct

* add role support

* add support for voice states
2021-07-02 19:24:27 +02:00
Skillz4Killz
28122bff3b change: prettier code 2021-06-18 14:37:53 +00:00
Skillz4Killz
cf26adf0bc Merge branch 'main' into more-thread-stuff 2021-06-18 10:37:23 -04:00
Skillz4Killz
325d94ccfd fix: thread errors and typings in cache 2021-06-17 16:12:53 +00:00
Skillz4Killz
950482c503 more thread fixes 2021-06-13 20:45:47 +00:00
Skillz4Killz
f2177e8ca6 cache.threads 2021-06-13 13:34:18 +00:00
ITOH
98aa6c07fa fix: use bigint id for key and not string id for cache.emojis getter 2021-06-10 22:37:33 +02:00
Skillz4Killz
d99afb0e5f tiny optimizations 2021-06-05 14:24:44 +00:00
Skillz4Killz
a530d27240 Update cache.ts 2021-06-04 18:34:19 -04:00
Skillz4Killz
ab30ebbcb9 Update cache.ts 2021-06-04 18:32:33 -04:00
ITOH
0efa060380 better guild & channel dispatch 2021-05-29 15:42:35 +02:00
ITOH
c7e3a05816 return condition 2021-05-27 17:20:37 +02:00
ITOH
12691f2567 fix buggs 2021-05-27 17:19:42 +02:00
ITOH
7f280bd17b add: guild dispatch 2021-05-27 17:17:09 +02:00
ITOH
6a8b183fbf add: presence sweeper 2021-05-27 16:57:45 +02:00
ITOH
58e20cc925 fix buggs 2021-05-27 16:56:45 +02:00
ITOH
5319ed2309 add: member sweeper 2021-05-27 16:43:41 +02:00
ITOH
8b2a554c91 add: message sweeper 2021-05-27 16:38:34 +02:00
itohatweb
efc15fdca4 change: prettier code 2021-05-21 15:59:48 +00:00
ITOH
112cb62976 test formatting 2021-05-21 17:59:13 +02:00
itohatweb
179add27c9 Prettified Code! 2021-05-21 15:55:49 +00:00
itohatweb
3549cdeb63 Prettified Code! 2021-05-21 15:51:33 +00:00
Aditya N. Tripathi
371f2787dc fix(cache): emojis to use bigint for key 2021-05-20 21:17:03 +05:30
ITOH
7ff0d242ff hopefully the last dir change 2021-05-05 20:06:32 +02:00
ITOH
53dcb65c24 cache 2021-05-04 12:43:46 +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
eac97c47ee fix(cache): cacheHandlers get messages wrong type 2021-04-10 10:51:43 +02:00
ITOH
7a6b4bf2d7 ref 2021-04-09 23:07:20 +02:00
ITOH
c55b3e4cb3 Update cache.ts 2021-04-09 20:58:02 +02:00
ITOH
55555fff76 chore(cache): use new types (#762) 2021-04-07 09:06:32 +04:00
Skillz4Killz
1b8161e85b refactor: cleanup and fmt 2021-04-04 12:54:33 +00:00
Skillz4Killz
5b8f249a1f refactor: code cleanup 2021-04-04 03:13:43 +00:00
Skillz4Killz
5b2a341513 feat: add cache.emojis getter. closes #658 2021-04-04 01:49:32 +00:00
ayntee
eaff54f90f refactor: rename *ID to *Id (#710)
* refactor: rename *ID to *Id

* Update src/helpers/commands/delete_slash_command.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/commands/delete_slash_command.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/commands/delete_slash_response.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/commands/edit_slash_response.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/utils.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/utils.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/utils.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/utils.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/utils.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/commands/get_slash_command.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/commands/send_interaction_response.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/commands/upsert_slash_command.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/guilds/edit_widget.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/guilds/get_widget.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/guilds/get_widget.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/guilds/get_widget_image_url.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/guilds/get_widget_image_url.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/guilds/get_widget_settings.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update .gitignore

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update LICENSE

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/members/edit_bot_profile.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/members/edit_bot_profile.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/webhooks/create_webhook.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/webhooks/delete_webhook.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/constants.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/webhooks/edit_webhook.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/webhooks/execute_webhook.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/webhooks/get_webhook.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/rest/cache.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/rest/request.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/constants.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/commands/delete_slash_response.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/constants.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/constants.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/constants.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/constants.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/utils.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/utils.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Revert docs file

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-03-29 21:03:46 +04:00
ITOH
c91c9d0870 types: remove entire types (#684) 2021-03-23 19:14:26 +04:00
ayntee
e4fc09069f style: format files 2021-03-20 10:08:30 +04:00