Commit Graph

36 Commits

Author SHA1 Message Date
Skillz4Killz
af959f04b0 Merge branch 'main' of https://github.com/discordeno/discordeno into main 2021-12-22 16:07:59 +00:00
Skillz4Killz
4b7b9c2658 fix: finalizing permission plugin 2021-12-22 16:07:57 +00:00
lts20050703
af6a27de16 Fix GatewayOpcodes.StatusUpdate (renamed to PresenceUpdate) 2021-12-21 08:50:36 +07:00
Skillz4Killz
c921a09420 fix: more return await fixes 2021-12-06 00:39:11 +00:00
Skillz4Killz
fb18dfe5d1 fix: camelize response to discord 2021-11-29 14:20:09 +00:00
ITOH
9eeb8e26fb never ever come with snake_case again for dd 2021-11-14 21:53:29 +01:00
itohatweb
ddc67a284c change: prettier code 2021-11-14 17:31:51 +00:00
ITOH
8550274e62 tenth chunk 2021-11-14 18:31:17 +01:00
Skillz4Killz
a42ca52c06 tris lovely typos 2021-10-25 18:35:39 +00:00
Skillz4Killz
34a2baa799 more events 2021-10-24 12:15:11 +00:00
TriForMine
17115e7681 Gateway helpers 2021-10-21 17:41:47 +02:00
TriForMine
6ece2dc106 change: prettier code 2021-10-18 19:04:01 +00:00
TriForMine
64e316647e More work 2021-10-18 21:03:24 +02:00
ITOH
dc4937f4f6 fix: botAvatarURL is nullable
null shall be passed to reset the bots avatar
2021-06-17 15:34:18 +02:00
ITOH
b269304a88 change: use options for editBotProfile 2021-05-31 19:48:41 +02:00
ITOH
83b7a708e7 fix: snakelize request body 2021-05-31 19:48:13 +02:00
itohatweb
179add27c9 Prettified Code! 2021-05-21 15:55:49 +00:00
itohatweb
3549cdeb63 Prettified Code! 2021-05-21 15:51:33 +00:00
ITOH
fb8035c4ef change: move closeWS & sendShardMessage to ws object 2021-05-06 15:28:42 +02:00
ITOH
7ff0d242ff hopefully the last dir change 2021-05-05 20:06:32 +02:00
ITOH
19cbad63a2 this is the biggest pain ever 2021-05-04 12:38:54 +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
10b824901c Merge branch 'main' into fix-sbbb 2021-04-29 11:00:15 +02:00
ITOH
d7015df65f misc 2021-04-24 19:39:40 +02:00
ITOH
6315ba75fc add sendShardMessage 2021-04-16 19:14:48 +02:00
Skillz4Killz
72618947f0 feat: implement gateway queue (#844)
* feat: implement gateway queue

* process queues when adding to queue

* fix: tests fixed ready for review

* handle shard closed

Co-authored-by: Skillz4Killz <Skillz4Killz@users.noreply.github.com>
2021-04-13 17:29:35 +01:00
TriForMine
b93dc0963f fix(helpers): fix import StatusUpdate as type (#842)
* fix(helpers): add missing export for editBotStatus

* fix(helpers): fix import type
2021-04-13 08:31:45 +01:00
ayntee
1cbc1b8f82 fmt files damn son 2021-04-12 23:13:37 +04:00
ayntee
9d5d0f0872 some moar fixes lol 2021-04-12 22:29:21 +04:00
Skillz4Killz
f7024a5bf0 fix(ws): startBot botGatewayData & maxShard (#839)
* this is for u tri!

* fix more
2021-04-12 16:39:34 +01:00
Skillz4Killz
af3dbf1564 refactor: move edit_bot_status to another file in helpers (#838) 2021-04-12 19:17:55 +04:00
Skillz4Killz
51e27d8f17 types: fix new types issues (#829)
* feat: add tests for deleting channel overwrites

* fix: typings
2021-04-12 07:26:55 +01: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
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
e9cbbbff7c refactor(helpers): separate functions into files (#667)
* refactor(helpers): separate functions into files

* idk

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