Commit Graph

92 Commits

Author SHA1 Message Date
ITOH f733a36051 Update get_channel.ts 2021-04-23 23:27:33 +02:00
ITOH 82b896d177 Update follow_channel.ts 2021-04-23 23:27:32 +02:00
ITOH 7f8e67f5c6 Update edit_channel.ts 2021-04-23 23:27:30 +02:00
ITOH 0d7590349b Update edit_channel_overwrite.ts 2021-04-23 23:12:35 +02:00
ITOH 832905a0e9 Update delete_channel.ts 2021-04-23 23:12:33 +02:00
ITOH 27c569050e Update delete_channel_overwrite.ts 2021-04-23 23:12:30 +02:00
ITOH a665c2d530 Update create_channel.ts 2021-04-23 23:12:27 +02:00
ITOH 10e9d96576 fix(helpers/channels): cloneChannel errors 2021-04-15 18:48:32 +02:00
ITOH d446d57684 fix(helpers/channels): add reason arg 2021-04-15 18:48:10 +02:00
Exists 3088cc0693 Convert overwrites
- Removed integration in createChannel
- Converting from DiscordOverwrite to Overwrite in cloneChannel function
2021-04-14 13:28:59 -04:00
Exists 215141171a Fix formatting (deno fmt) 2021-04-14 13:09:47 -04:00
Exists 3d5bdc4605 Suggested changes to cloneChannel
- Removed name check
- Added DM channel check
2021-04-14 13:06:21 -04:00
Skillz4Killz ef88a57a38 Update src/helpers/channels/clone_channel.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-14 08:47:46 -04:00
Skillz4Killz 4183ffd21d Update src/helpers/channels/clone_channel.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-14 08:47:21 -04:00
Skillz4Killz 6063bc0aff Update src/helpers/channels/clone_channel.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-14 08:46:18 -04:00
Skillz4Killz 084d149598 Update src/helpers/channels/clone_channel.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-14 08:46:02 -04:00
Exists 1a1ef34a96 Add channel cloning
Changes:
    - Added function cloneChannel
    - Modified createChannel to support cloneChannel
   - Added clone(reason) method on channel structure
    - Added channel cloning tests
2021-04-14 04:01:35 -04:00
Skillz4Killz c85b76cd18 fix: remove extra loops (#848)
* fix: remove extra loops

Co-authored-by: Skillz4Killz <Skillz4Killz@users.noreply.github.com>
2021-04-13 19:36:23 +01:00
Skillz4Killz 9446960bb0 deno fmt 2021-04-13 17:59:19 +00:00
Skillz4Killz c2f2afb211 fix: return types [] => Collection 2021-04-13 17:53:49 +00:00
ITOH 495ad593ea add this missing thing 2021-04-12 22:46:02 +02:00
ayntee 1cbc1b8f82 fmt files damn son 2021-04-12 23:13:37 +04:00
ayntee b21df06719 Fix some types 2021-04-12 22:21:26 +04:00
Skillz4Killz b357a5fb04 tests: add channel create with perms test (#825) 2021-04-11 19:40:56 +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
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 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 408120c508 fix: bunch of imports that were missing 2021-04-03 23:30:48 +00: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 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 9699f741fe refactor(helpers): rename createGuildChannel to createChannel (#678)
* refactor(helpers): rename createGuildChannel to createChannel

* idk
2021-03-19 13:03:24 +04:00
ayntee e9cbbbff7c refactor(helpers): separate functions into files (#667)
* refactor(helpers): separate functions into files

* idk

* idk
2021-03-13 08:10:31 -05:00