Commit Graph

4109 Commits

Author SHA1 Message Date
ITOH 17f16ee91f these are optional too 2021-05-26 20:49:28 +02:00
ITOH f13145822a fix: GetGuildAuditLog params are optional 2021-05-26 20:48:35 +02:00
rigormorrtiss c1459d4e12 add: getDiscovery() & change: rename endpoint constant DISCOVERY_MODIFY to DISCOVERY_METADATA (#975)
* feat(helpers/discovery): add getDiscovery() helper

* change: prettier code

* fix: resolve promise and add first argument

* Use DISCOVERY_METADATA endpoint instead

* again, magical commits due to prettier workflow to the origin branch

* change: prettier code

* change: prettier code

* Add permission inhibitors

* Use requireBotGuildPermissions()

* remove skillz bunlder code

Co-authored-by: ITOH <to@itoh.at>
2021-05-26 20:23:41 +02:00
ITOH bd28d90aec change: update to latest rc 11.0.0-rc.4 2021-05-26 20:15:34 +02:00
Skillz4Killz 2bbbb0bf2e Merge pull request #990 from rigormorrtiss/fix-invalid-payload
fix(helpers): convert options to snake case
2021-05-26 14:13:51 -04:00
rigormorrtiss f01143145d Directly pass options to snakelize() 2021-05-26 22:10:36 +04:00
rigormorrtiss 6fe7d0e1dc fix(helpers/interactions): convert options to snake case 2021-05-26 22:09:34 +04:00
rigormorrtiss 09450e5d74 fix(helpers): convert options case to snake case 2021-05-26 22:01:27 +04:00
ITOH 6bf3dc7e8d Merge pull request #987 from discordeno/fix-user-update
fix user update
2021-05-25 16:29:57 +02:00
ITOH 1f0446f42d remove unnecessary null check 2021-05-25 09:12:13 +02:00
Skillz4Killz 2409841b1d edge case 2021-05-23 21:16:51 +00:00
Skillz4Killz 554d7a39a6 so silly 2021-05-23 21:04:46 +00:00
Skillz4Killz cb13bfdfd0 fix avatrin tojson 2021-05-23 21:02:15 +00:00
Skillz4Killz 75b3f72116 whoopsies 2021-05-23 20:59:22 +00:00
Skillz4Killz a23b09257f fix user update 2021-05-23 20:57:57 +00:00
Skillz4Killz 803cbfac4a Merge pull request #986 from discordeno/remove-cleanup-shards-logic
Remove cleanup shards logic
2021-05-23 16:38:51 -04:00
Skillz4Killz 814d8df4f2 thanks itoh 2021-05-23 20:22:51 +00:00
Skillz4Killz 6d2d8679f0 Merge branch 'remove-cleanup-shards-logic' of https://github.com/discordeno/discordeno into remove-cleanup-shards-logic 2021-05-23 20:17:33 +00:00
Skillz4Killz 9695baca7d whoopsies 2021-05-23 20:17:31 +00:00
Skillz4Killz d94fae829e change: prettier code 2021-05-23 20:14:51 +00:00
Skillz4Killz 4e9cbd06f5 remove cleanup shard logic 2021-05-23 20:14:15 +00:00
ITOH 59d35230b1 change to newest tag version 11.0.0-rc.3 2021-05-23 21:15:00 +02:00
ITOH 0b3a1c5e4e Merge pull request #984 from discordeno/fix-edit-member-nick
fix: always false if check for editMember voice
2021-05-23 21:13:33 +02:00
ITOH 90537801e7 Merge pull request #985 from discordeno/fix-role-perems-string
fix: role.permissions should be bigint
2021-05-23 21:09:54 +02:00
ITOH 20a3e8a029 Update src/structures/role.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2021-05-23 21:09:42 +02:00
ITOH ae70ccbf02 Merge pull request #979 from discordeno/optimize-startup
Optimize startup
2021-05-23 21:06:08 +02:00
ITOH 0988189c11 remove gw.ts 2021-05-23 21:05:32 +02:00
ITOH 62b6426d1d Update clone_channel.ts 2021-05-23 20:33:01 +02:00
ITOH 4b3d2d9759 remove unnecessary gotten BigInt conversion 2021-05-23 20:31:14 +02:00
ITOH d737f2ac41 idk why ts so strange 2021-05-23 20:28:06 +02:00
ITOH 7b9becba58 fix: role.permissions should be bigint 2021-05-23 20:27:55 +02:00
Skillz4Killz 8cdfdb757e startup ~5s now 2021-05-23 17:41:06 +00:00
ITOH 619a3b7c1b remove typeof 2021-05-23 18:29:28 +02:00
ITOH eb9cb57414 fix wrong if logic again 2021-05-23 18:27:33 +02:00
ITOH 8ca30b813a fix always false if check 2021-05-23 18:20:46 +02:00
ITOH db2fd9929d change: update version before tag 11.0.0-rc.2 2021-05-23 17:32:03 +02:00
ITOH 11cdf184f5 change: update deps 2021-05-23 17:30:03 +02:00
ITOH 8f26763662 Merge pull request #981 from discordeno/toJSON
.toJSON()
2021-05-23 17:28:51 +02:00
Skillz4Killz 0b460937da Merge branch 'toJSON' of https://github.com/discordeno/discordeno into toJSON 2021-05-23 13:33:56 +00:00
Skillz4Killz 8061d1348c add voiceState.toJSON() 2021-05-23 13:33:55 +00:00
Skillz4Killz dcd88c8811 change: prettier code 2021-05-23 13:32:06 +00:00
Skillz4Killz d01602f12d add member, message and fix guild toJSON 2021-05-23 13:31:35 +00:00
Skillz4Killz 4e806a7049 Merge pull request #978 from discordeno/fix-get-invite-return-type
fix: invite helper types
2021-05-23 09:14:45 -04:00
Skillz4Killz 7408780e1c Merge pull request #982 from discordeno/better-slash-validate
Better slash validate
2021-05-23 09:14:30 -04:00
ITOH 7a9e47e706 fix stupid typo 2021-05-23 14:44:28 +02:00
ITOH 3435a1b885 fix typo 2021-05-23 14:10:17 +02:00
ITOH f4e7cd3b0d better way of doing options 2021-05-23 14:08:34 +02:00
ITOH ac33ffcb47 move required option to the start of array after optional 2021-05-23 12:29:42 +02:00
ITOH 815ccfc3f1 assign correct options 2021-05-23 11:58:09 +02:00
ITOH 411c85aed9 Update utils.ts 2021-05-23 11:55:10 +02:00