Commit Graph

57 Commits

Author SHA1 Message Date
Skillz4Killz 7e38960e9a fix: webhook typings 2021-04-12 18:12:59 +00:00
Skillz4Killz 8523a5ceea fix: more typing errors 2021-04-12 18:09:15 +00:00
Skillz4Killz f7024a5bf0 fix(ws): startBot botGatewayData & maxShard (#839)
* this is for u tri!

* fix more
2021-04-12 16:39:34 +01:00
Skillz4Killz 78a894a4ab fix: rest typings (#835)
* fix: rest typings

* fix: more typings
2021-04-12 16:18:13 +01:00
Skillz4Killz af3dbf1564 refactor: move edit_bot_status to another file in helpers (#838) 2021-04-12 19:17:55 +04:00
ITOH b9bd29ebf8 fix 2021-04-12 09:30:45 +02:00
Skillz4Killz 51e27d8f17 types: fix new types issues (#829)
* feat: add tests for deleting channel overwrites

* fix: typings
2021-04-12 07:26:55 +01:00
TriForMine 5e6d749ffa tests: add roles tests (#822) 2021-04-11 19:41:15 +01:00
Skillz4Killz b357a5fb04 tests: add channel create with perms test (#825) 2021-04-11 19:40:56 +01:00
Skillz4Killz 5d20c1c638 fix(helpers/guilds): createGuild not caching the guild (#814) 2021-04-11 10:27:57 +01:00
Skillz4Killz 66b0aa3685 tests: add channel tests (#807) 2021-04-10 14:38:58 +01:00
TriForMine ab19ec81e1 fix(helpers/channels): add missing import (#806) 2021-04-10 13:53:01 +01:00
Skillz4Killz 91114a62c2 fix: category children (#800) 2021-04-10 10:01:50 +01:00
ITOH 7a6b4bf2d7 ref 2021-04-09 23:07:20 +02:00
ITOH dc9c33f0d4 f 2021-04-09 22:22:06 +02:00
ITOH 9312606100 lop 2021-04-09 21:37:13 +02:00
Skillz4Killz a44f968745 tests: add deleteChannel tests 2021-04-09 17:20:41 +00:00
Skillz4Killz 3eaf1a5dcc fix: broken import errors (#779)
* fix: broken import errors

* fix: snake case name
2021-04-08 22:22:11 +04:00
Skillz4Killz 2babaf5991 deno fmt 2021-04-08 14:35:33 +00:00
ITOH 70ae220f14 Update get_widget_settings.ts 2021-04-07 10:28:52 +02:00
ITOH 313e7d2d35 fir more things 2021-04-07 10:27:44 +02:00
ITOH 941ebd3beb Merge branch 'fix-handlers-channels' into fix-helpers 2021-04-07 09:39:24 +02:00
ITOH 96d26605ca f 2021-04-06 22:25:26 +02:00
ITOH 707b096360 f 2021-04-06 22:07:15 +02:00
Skillz4Killz 1b8161e85b refactor: cleanup and fmt 2021-04-04 12:54:33 +00:00
Skillz4Killz 5d3b01b3e7 fix: typings names & imports 2021-04-04 12:21:30 +00:00
Skillz4Killz 8f4dd71973 fix: guildSplashURL no longer accepts cached guild 2021-04-04 12:21:15 +00:00
Skillz4Killz fbfd3455b5 fix: guildIconURL no longer accepts cached guild 2021-04-04 12:21:04 +00:00
Skillz4Killz c6279c79c0 fix: guildBannerURL no longer accepts cached guild 2021-04-04 12:20:55 +00:00
Skillz4Killz ef1243b01a Merge branch 'main' into patch-5 2021-04-04 07:56:01 -04:00
TriForMine d893b631dc fix(helpers): remove rawAvatarURL export (#748)
Removing rawAvatarURL export since it was removed in #743
2021-04-04 13:44:21 +04:00
TriForMine 1b981df70c fix(helpers/members) Remove duplicated import 2021-04-04 06:59:52 +02:00
Skillz4Killz 09f39a28b8 Merge branch 'main' into fix-get-message-dm 2021-04-03 23:39:30 -04:00
Skillz4Killz 467d324210 Merge branch 'main' into remove-raw-avatar-url 2021-04-03 23:38:34 -04:00
Skillz4Killz 6e735b4b67 Merge branch 'main' into fix-fetch-members-imports 2021-04-03 23:37:29 -04:00
Skillz4Killz 58d1f1c877 fix: check perms only when channel is cached 2021-04-04 03:34:33 +00:00
Skillz4Killz 7aac53e44c fix: imports from mod.ts are bad 2021-04-04 00:42:02 +00:00
Skillz4Killz b81bf8d484 chore: deno fmt 2021-04-04 00:34:40 +00:00
Skillz4Killz 29ea05d7ff refactor: remove raw avatar ulr 2021-04-04 00:03:45 +00:00
Skillz4Killz ab3ec5703e fix: another missing import 2021-04-03 23:51:55 +00:00
Skillz4Killz 408120c508 fix: bunch of imports that were missing 2021-04-03 23:30:48 +00:00
Skillz4Killz 4717faa7ba fix: fetch members imports 2021-04-03 16:38:34 -04:00
ayntee 5f1b82a4e8 refactor: remove RequestManager and use runMethod() (#732)
* fix(rest/process_request): use DiscordHTTPResponseCodes

* refactor: remove RequestManager

* refactor: remove RequestManager and use runMethod()
2021-04-02 23:18:51 +04:00
ITOH 99c252d2d5 fix(handlers): add missing imports (#724)
* Update GUILD_EMOJIS_UPDATE.ts

* fix imports

Co-authored-by: ayntee <ayyantee@gmail.com>
2021-04-02 17:33:14 +04:00
ayntee 352a7b9f49 fix: use PermissionStrings 2021-03-29 23:31:52 +04: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 5125ffd308 refactor: replace util/cache with cache 2021-03-20 10:06:57 +04:00
ayntee 9699f741fe refactor(helpers): rename createGuildChannel to createChannel (#678)
* refactor(helpers): rename createGuildChannel to createChannel

* idk
2021-03-19 13:03:24 +04:00
ayntee eba5679806 refactor(helpers): rename executeSlashCommand to sendInteractionResponse (#676) 2021-03-17 15:28:44 +04:00