Commit Graph

17 Commits

Author SHA1 Message Date
rigormorrtiss 6f280e7781 change(types): move error & file_content to discordeno/ (#903)
* refactor(types): move errors, file_content module to types/discordeno

* refactor(types): move error & file_content module to discordeno/

* Update and fix import statements
2021-05-05 17:19:28 +01: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 19cbad63a2 this is the biggest pain ever 2021-05-04 12:38:54 +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 d60ccae805 fix(types): channel.permissionOverwrites can be undefined 2021-05-01 23:35:43 +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 10e9d96576 fix(helpers/channels): cloneChannel errors 2021-04-15 18:48:32 +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 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