Commit Graph

670 Commits

Author SHA1 Message Date
Skillz4Killz
b2dd0dd87b Merge branch 'main' into structures-guild 2021-04-03 23:50:20 -04:00
Skillz4Killz
09f39a28b8 Merge branch 'main' into fix-get-message-dm 2021-04-03 23:39:30 -04:00
Skillz4Killz
d48b0a0ded Merge branch 'main' into fix-member-caching-on-guild-create 2021-04-03 23:39:17 -04:00
Skillz4Killz
7ea1f7adce Merge branch 'main' into message-channel-mentions 2021-04-03 23:39:01 -04:00
Skillz4Killz
b217995b9d Merge branch 'main' into cache-emojis 2021-04-03 23:38:46 -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
6bd233da6f Merge pull request #742 from discordeno/fix-errors-imports
fix: bunch of imports that were missing
2021-04-03 23:37:14 -04:00
Skillz4Killz
58d1f1c877 fix: check perms only when channel is cached 2021-04-04 03:34:33 +00:00
Skillz4Killz
c14ef3d4e7 fix: cache members when poossible on guild create 2021-04-04 03:29:49 +00:00
Skillz4Killz
210f89ec4e fix: channel mentions includes all valid mentions 2021-04-04 03:23:26 +00:00
Skillz4Killz
5b8f249a1f refactor: code cleanup 2021-04-04 03:13:43 +00:00
Skillz4Killz
5b2a341513 feat: add cache.emojis getter. closes #658 2021-04-04 01:49:32 +00:00
Skillz4Killz
4031578f4b fix: more missing imports 2021-04-04 01:44:30 +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
e7d9b58c81 fix: import of DiscordGatewayPayload 2021-04-04 00:34:08 +00:00
Skillz4Killz
29ea05d7ff refactor: remove raw avatar ulr 2021-04-04 00:03:45 +00:00
Skillz4Killz
175e38d0ce fix: broken import 2021-04-03 23:59:51 +00:00
Skillz4Killz
ab4b9c0b83 fix snake case 2021-04-03 23:59:37 +00:00
Skillz4Killz
65bc080da1 fix: some rest run method fixes 2021-04-03 23:52:45 +00:00
Skillz4Killz
7dc2ddb1f7 fix: missing debug event necessary 2021-04-03 23:52:17 +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
ITOH
4e757c1c0f fix(handlers): add guildUnavailable event listener #735 2021-04-03 16:47:41 -04:00
Skillz4Killz
4717faa7ba fix: fetch members imports 2021-04-03 16:38:34 -04:00
ITOH
d2ae1638ac typo 2021-04-03 21:41:53 +02:00
ITOH
54b62193bb mooooo 2021-04-03 21:32:27 +02:00
TriForMine
cc46698245 fix(rest): remove export for request_manager.ts (#733) 2021-04-03 15:33:49 +04:00
ayntee
5ef292cc78 fix(ws/shard): add missing import 2021-04-02 23:22:58 +04:00
ayntee
6aa9b25698 refactor(structures/channel): auto-convert the paylaod fields to camel case (#730) 2021-04-02 23:21:13 +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
ayntee
ec9ceaab04 fix(rest/process_request): use DiscordHTTPResponseCodes (#731) 2021-04-02 22:08:09 +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
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
2502585e8b types(channels): fix wrong type for permission_overwrites (#725)
* fix type

* Update src/types/channels/channel.ts

* wrooong
2021-04-01 00:46:36 +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
ITOH
4489a46c61 fix(types): add missing imports (#722)
Co-authored-by: ayntee <ayyantee@gmail.com>
2021-03-31 21:50:22 +04:00
ITOH
243644d664 types: finalize and cleanup types (#721)
* some adds

* Update create_guild_role.ts

* oops

* forgot the null

* Update create_guild_role.ts
2021-03-31 21:38:15 +04:00
ITOH
59bd17484b types: add team types (#720)
* add team types

* partial user

* remove partial user thing

Co-authored-by: ayntee <ayyantee@gmail.com>
2021-03-31 20:51:16 +04:00
ITOH
61c1e060f9 types: add oauth2 types (#719)
* add types

* Update get_current_authorization_information.ts

* Update src/types/oauth2/get_current_authorization_information.ts

Co-authored-by: ayntee <ayyantee@gmail.com>

* Update src/types/oauth2/get_current_authorization_information.ts

Co-authored-by: ayntee <ayyantee@gmail.com>

* Update bot_auth_query.ts

* Update scopes.ts

Co-authored-by: ayntee <ayyantee@gmail.com>
2021-03-31 19:25:09 +04:00
ITOH
37b8f37b1c types: add guild types (#716)
* add types

* Update src/types/guilds/welcome_screen_channel.ts

* Update src/types/guilds/create_guild_channel_params.ts

Co-authored-by: ayntee <ayyantee@gmail.com>

* many changes

* Update src/types/guilds/create_guild_channel.ts

* Update src/types/guilds/get_guild.ts

Co-authored-by: ayntee <ayyantee@gmail.com>

* Update src/types/guilds/get_guild.ts

Co-authored-by: ayntee <ayyantee@gmail.com>

* Update src/types/guilds/get_guild_prune_count.ts

Co-authored-by: ayntee <ayyantee@gmail.com>

* Update src/types/guilds/get_guild_prune_count.ts

Co-authored-by: ayntee <ayyantee@gmail.com>

* Update get_guild_widget_image.ts

* Update src/types/guilds/get_guild_widget_image.ts

Co-authored-by: ayntee <ayyantee@gmail.com>

* Update src/types/guilds/get_guild_widget_image.ts

* Update src/types/guilds/get_guild_widget_image.ts

* Update src/types/guilds/get_guild_widget_image.ts

* Update src/types/guilds/guild.ts

Co-authored-by: ayntee <ayyantee@gmail.com>

* Update src/types/guilds/list_guild_members.ts

Co-authored-by: ayntee <ayyantee@gmail.com>

* Update src/types/guilds/list_guild_members.ts

Co-authored-by: ayntee <ayyantee@gmail.com>

* Update src/types/guilds/list_guild_members.ts

Co-authored-by: ayntee <ayyantee@gmail.com>

* Update src/types/guilds/modify_current_user_nick.ts

Co-authored-by: ayntee <ayyantee@gmail.com>

* Apply suggestions from code review

Co-authored-by: ayntee <ayyantee@gmail.com>

* idk

Co-authored-by: ayntee <ayyantee@gmail.com>
2021-03-31 14:39:10 +04:00
ITOH
79be200943 types: add role types (#717)
* move perm types

* types: add role types

* types: add roletags types

Co-authored-by: ayntee <ayyantee@gmail.com>
2021-03-30 12:10:53 +04:00
ITOH
c2757b2491 types: add code types (#718) 2021-03-30 12:00:08 +04:00
ayntee
9fda12b336 Merge branch 'main' of https://github.com/discordeno/discordeno 2021-03-29 23:58:13 +04:00
ayntee
8de973f650 chore: use DiscordBitwisePermissionFlags and PermissionStrings 2021-03-29 23:57:06 +04:00
Skillz4Killz
ebb15afa0e refactor(rest): separate functions into diff files (#685)
* shtufffff

* fixe rate limit path infinite loop

* refactor

* ID > id

* Update process_request_headers.ts

* file names

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
Co-authored-by: ayntee <ayyantee@gmail.com>
2021-03-29 23:50:08 +04:00
ayntee
79d57f0377 chore: fix import and exports 2021-03-29 23:47:31 +04:00
ayntee
352a7b9f49 fix: use PermissionStrings 2021-03-29 23:31:52 +04:00
ayntee
a98df7f36d refactor(types): separate files for gateway types (#715) 2021-03-29 23:13:18 +04:00