Commit Graph

112 Commits

Author SHA1 Message Date
ITOH c0a2c520a5 fix: bigint now 2021-05-03 21:21:51 +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 2396ba2ce4 deno lint stupid 2021-05-02 21:30:26 +02:00
ITOH f0ea01b502 add: getArchivedThreads 2021-05-02 18:20:57 +02:00
ITOH 28e407ca03 add: getThreadMembers 2021-05-02 17:17:17 +02:00
ITOH 8c23b88dc5 add: removeFromThread 2021-05-02 17:17:11 +02:00
ITOH 4faeab8bac add: startThread 2021-05-02 16:35:26 +02:00
ITOH 02b9d7188f Update edit_channel.ts 2021-05-02 16:35:11 +02:00
ITOH 64606025ec add: delete thread functionality 2021-05-02 13:37:07 +02:00
ITOH 6f7ade244a add: thread channel support 2021-05-02 12:34:47 +02:00
ITOH d60ccae805 fix(types): channel.permissionOverwrites can be undefined 2021-05-01 23:35:43 +02:00
ITOH 51095db12f fix my renaming thing 2021-05-01 18:39:20 +02:00
ITOH cff1b61af5 fix channel permission thing 2021-05-01 18:35:19 +02:00
ITOH a7de104b9a calculatePermissions should take a string 2021-04-30 15:13:58 +02:00
ITOH e9a46f03cc Update swap_channels.ts 2021-04-23 23:27:43 +02:00
ITOH 281416de36 Update start_typing.ts 2021-04-23 23:27:41 +02:00
ITOH 3812025506 Update get_pins.ts 2021-04-23 23:27:39 +02:00
ITOH 7f84762176 Update get_channels.ts 2021-04-23 23:27:37 +02:00
ITOH ecc0418271 Update get_channel_webhooks.ts 2021-04-23 23:27:35 +02:00
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