Skillz4Killz
|
e7d9b58c81
|
fix: import of DiscordGatewayPayload
|
2021-04-04 00:34:08 +00: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
|
455cc6fb24
|
fix(handlers/GUILD_MEMBER_ADD): check if guildMember is undefined (#729)
* fix(handlers/GUILD_MEMBER_ADD): check if guildMember is undefined
* Update src/handlers/members/GUILD_MEMBER_UPDATE.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
* Update src/handlers/members/GUILD_MEMBER_UPDATE.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
* Update src/handlers/members/GUILD_MEMBER_UPDATE.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
* Update src/handlers/members/GUILD_MEMBER_UPDATE.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
* Update src/handlers/members/GUILD_MEMBER_UPDATE.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
|
2021-04-02 17:31:25 +04:00 |
|
ITOH
|
dd21008f90
|
fix(handlers): add missing imports (#723)
Co-authored-by: ayntee <ayyantee@gmail.com>
|
2021-03-31 21:51:46 +04:00 |
|
ayntee
|
79d57f0377
|
chore: fix import and exports
|
2021-03-29 23:47:31 +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 |
|
ayntee
|
72b07574f2
|
types: add gateway types
|
2021-03-27 12:37:11 +04:00 |
|
ayntee
|
b1512e0334
|
types: add gateway events types
|
2021-03-27 12:03:55 +04:00 |
|
ITOH
|
c91c9d0870
|
types: remove entire types (#684)
|
2021-03-23 19:14:26 +04:00 |
|
ayntee
|
10cb9d7eb9
|
types(util): add case utility types (#683)
* types(util): add case utility types
* Rename *ID to *Id
|
2021-03-23 19:04:46 +04:00 |
|
ITOH
|
5821092e78
|
fix(handleres/guilds): unavailable guilds & guildDelete emit delay (#674)
Co-authored-by: ayntee <ayyantee@gmail.com>
|
2021-03-23 14:45:57 +04:00 |
|
ayntee
|
e4fc09069f
|
style: format files
|
2021-03-20 10:08:30 +04:00 |
|
ayntee
|
5125ffd308
|
refactor: replace util/cache with cache
|
2021-03-20 10:06:57 +04:00 |
|
ayntee
|
489aa6d166
|
refactor(handlers): move presence/* to misc/* (#677)
|
2021-03-17 16:32:45 +04:00 |
|
ayntee
|
e852dc315a
|
fix: export aliases from mod.ts
|
2021-03-15 15:41:46 +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 |
|
ITOH
|
ebbcd762cf
|
feat(util/permissions): improve permission-checking (#381)
* Update permissions.ts
* add(permissions): explaining comments
Since Discord permissions are quiet complex it is better to have detailed comments explaining everything.
* docs: add better permissions jsdoc comments
* types: add missing errors
* change imports
* we want a string here
* strange commit here
* we need an s in tts
* permissions: update channel permission handling
* permissions: update guild permission handling
* permissions: update member permission handling
* permissions: update message permission handling
* permissions: update webhook permission handling
* fix this buggg
* fix: typo
* better func names
* better description
* permissions(editMember): add permission check if channel_id is provided
* added todo for deaf
* fixxx
* FIIIXXX
* Update permissions.ts
* throwOn to require
* change up review things
* Update src/util/permissions.ts
Co-authored-by: Ayyan <ayyantee@gmail.com>
* Update src/util/permissions.ts
Co-authored-by: Ayyan <ayyantee@gmail.com>
* Update src/util/permissions.ts
Co-authored-by: Ayyan <ayyantee@gmail.com>
* Update src/util/permissions.ts
Co-authored-by: Ayyan <ayyantee@gmail.com>
* Update src/util/permissions.ts
Co-authored-by: Ayyan <ayyantee@gmail.com>
* Apply suggestions from code review
Co-authored-by: Ayyan <ayyantee@gmail.com>
* BigInt() to n
* Update src/util/permissions.ts
Co-authored-by: Ayyan <ayyantee@gmail.com>
* Update src/util/permissions.ts
Co-authored-by: Ayyan <ayyantee@gmail.com>
* Update src/util/permissions.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
* missed this
* Update permissions.ts
* here enum is needed
* use set so errors arenn't strange
* dumb idea
* hasChannelPermissions functions are nice to have
* role to guild
* bugg
* fix(handlers): createGuildChannel check overwrite perms
* remove redundant if check
* fixes
* Update guild.ts
* bettrrrr
* Revert "bettrrrr"
This reverts commit ecbd30e160.
* I hate it
* fix fix
* fixxesss
* this function is better
* oh forgot these
* better I guess
* more functions
* silly me forgot to remove console.logs
* buuuuugs
* small changes
* Update permission.ts
* Update permissions.ts
* Update GUILD_CREATE.ts
* Update channel.ts
* remove this
* suggestions
Co-authored-by: Ayyan <ayyantee@gmail.com>
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
|
2021-03-11 22:33:52 +04:00 |
|
ayntee
|
8654aeded5
|
refactor: rename controllers to handlers and handlers to helpers (#660)
* refactor: rename controllers to handlers and handlers to helpers
* fmt
|
2021-03-11 21:41:03 +04:00 |
|
Ayyan
|
e49a23687e
|
refactor!: organize directories and files (#268)
* refactor!: organize directory structure
* fix: avoid stack overflow err
* chore: swtch back to std/encoding for base64
* style: format source files
|
2020-12-22 21:26:27 +04:00 |
|
ITOH
|
3702925d03
|
feat: new webhook endpoints (#253)
* commit changes
* Add max message length error
|
2020-12-14 16:13:38 +04:00 |
|
Skillz4Killz
|
6437274958
|
fix: members intent fetching (#229)
* fixes fetchMembers #223
* Update guild.ts
Co-authored-by: Ayyan <ayyantee@gmail.com>
|
2020-12-10 19:27:17 +04:00 |
|
ITOH
|
77890fe9f0
|
Remove editChannelOverwrite()
|
2020-12-10 08:10:33 +01:00 |
|
ITOH
|
20c289308d
|
1st Review changes
|
2020-12-09 22:55:23 +01:00 |
|
ITOH
|
56aaef3d2f
|
Replace bit perm calculating with function
|
2020-12-09 21:09:21 +01:00 |
|
ITOH
|
88730266ff
|
Bug fix
|
2020-12-09 16:50:20 +01:00 |
|
ITOH
|
af2a398318
|
Add nicer Way to edit Channel Permission
|
2020-12-09 16:23:45 +01:00 |
|
ITOH
|
7bdbcb76d6
|
refactor: centralize types (#235)
* Centralize types and structures
* Resolve Conflict
* Update cache.ts
|
2020-12-08 22:23:36 +04:00 |
|
Skillz4Killz
|
edc86559fc
|
Merge branch 'master' of https://github.com/discordeno/discordeno into next
|
2020-12-07 18:42:44 +00:00 |
|
ITOH
|
69e7abdd78
|
style: format source files
|
2020-12-07 11:21:05 +01:00 |
|
Skillz4Killz
|
1eccf8aa05
|
Update guild.ts
|
2020-12-06 14:34:29 -05:00 |
|
Ayyan
|
d745457b6e
|
Make linter happy :)
|
2020-12-05 12:07:36 +04:00 |
|
Ayyan
|
747858437f
|
Update guild.ts
|
2020-12-04 20:20:49 +04:00 |
|
Ayyan
|
dbb0feabd6
|
Update guild.ts
|
2020-12-04 20:06:46 +04:00 |
|
Ayyan
|
5bf843b595
|
feat: better return type/value for createServer()
|
2020-12-04 20:05:01 +04:00 |
|
ayntee
|
6156db4617
|
Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno into next
|
2020-11-30 19:32:58 +04:00 |
|
ayntee
|
8b7eb7d84b
|
fix: resolve urlToBase64() promise
|
2020-11-30 09:44:04 +04:00 |
|
ayntee
|
fdcd9ca668
|
Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno into next
|
2020-11-27 10:14:07 -08:00 |
|
TheBlueOompaLoompa
|
1a4fe647e4
|
Fix spelling error in guild.ts
Fixed the extra uppercase letter in the comment for unban.
|
2020-11-25 20:45:47 -06:00 |
|
ayntee
|
6baccde3a9
|
Types for getChannelWebhooks()
Closes #207
|
2020-11-22 19:36:38 +04:00 |
|
Skillz
|
4cd76db969
|
fixes
|
2020-11-19 23:10:14 -05:00 |
|
Skillz
|
90e1071608
|
bug fix
|
2020-11-18 21:58:00 -05:00 |
|
Skillz
|
a8c74c82e5
|
fixing tests and perm check bug
|
2020-11-18 13:08:47 -05:00 |
|
Skillz
|
9e49d8da11
|
deno fmt
|
2020-11-18 12:52:46 -05:00 |
|
Skillz4Killz
|
5e38843418
|
Merge pull request #203 from Skillz4Killz/permission-consistency
[BREAKING] Permission consistency
|
2020-11-18 12:50:23 -05:00 |
|
Skillz
|
1b63907256
|
more places to change
|
2020-11-18 12:29:57 -05:00 |
|
Skillz
|
ff3f33b285
|
permissions => permission
|
2020-11-18 12:21:45 -05:00 |
|
Skillz
|
6ecdb9fc9b
|
move guild.members to cache.members
|
2020-11-18 11:58:26 -05:00 |
|
Skillz
|
f3a66be660
|
fixes
|
2020-11-18 09:20:36 -05:00 |
|
Skillz
|
7c8b85cde9
|
remove guild.channels
|
2020-11-18 00:11:22 -05:00 |
|
Skillz
|
3c97b29cbe
|
Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno into next
|
2020-11-17 23:46:13 -05:00 |
|