Commit Graph

322 Commits

Author SHA1 Message Date
Skillz
a293cd27d3 shtuff 2021-05-27 23:45:12 -04:00
ITOH
c6fc8b40a9 number now 2021-05-27 12:27:38 +02:00
ITOH
17f16ee91f these are optional too 2021-05-26 20:49:28 +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
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
1f0446f42d remove unnecessary null check 2021-05-25 09:12:13 +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
62b6426d1d Update clone_channel.ts 2021-05-23 20:33:01 +02: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
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
ITOH
815ccfc3f1 assign correct options 2021-05-23 11:58:09 +02:00
ITOH
3f80e921ca fix: createInvite return type 2021-05-22 18:05:21 +02:00
ITOH
b8f145f2d5 change: make createInivte options optional 2021-05-22 18:03:28 +02:00
ITOH
5c6dd00a1e fix: deleteInvite return type 2021-05-22 18:01:04 +02:00
ITOH
2850fdd13f fix: getChannelInivtes return type 2021-05-22 17:58:17 +02:00
ITOH
97e37da29a fix: getInvites return type 2021-05-22 17:57:56 +02:00
ITOH
9f9a344eef fix: getInvite return type 2021-05-22 17:57:32 +02:00
rigormorrtiss
4b8f009277 change: get discovery change array to collection in jsdoc block (#974) 2021-05-22 10:24:22 +02:00
rigormorrtiss
8a4968f1af add(types): stage discovery privacy fields (#957)
* feat: add stage discovery fields

* feat: add stage discovery fields

* Update src/types/channels/privacy_level.ts

Co-authored-by: ITOH <to@itoh.at>

* change: prettier code

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
Co-authored-by: ITOH <to@itoh.at>
Co-authored-by: Skillz4Killz <Skillz4Killz@users.noreply.github.com>
2021-05-22 09:41:06 +02:00
Skillz4Killz
61e5d3fcb9 use partial audit logs 2021-05-22 00:37:46 +00:00
ITOH
978b84d341 Update edit_member.ts 2021-05-21 22:11:33 +02:00
ITOH
4c98b73cd0 change: use bigint for ids 2021-05-21 18:40:25 +02:00
itohatweb
179add27c9 Prettified Code! 2021-05-21 15:55:49 +00:00
ITOH
7c337d0765 Merge branch 'main' into prettier-workflow 2021-05-21 17:54:26 +02:00
itohatweb
3549cdeb63 Prettified Code! 2021-05-21 15:51:33 +00:00
ITOH
c80176c7fb remove: unused import 2021-05-21 16:47:48 +02:00
ITOH
e738d8a85a fix: createChannel parentId is now a bigint 2021-05-21 16:43:56 +02:00
rigormorrtiss
dd8c51f3d2 change: import types from specific files (#953)
* fix: import types from specific files

* Use import syntax for enums
2021-05-18 18:31:49 +02:00
rigormorrtiss
a0bd415cbe style: fix lint warnings (#935) 2021-05-13 10:37:31 +04:00
ITOH
d600f250b7 fix: startThread await runMethod 2021-05-12 18:19:51 +02:00
ITOH
1bdd3f752f remove: debug console.log 2021-05-12 18:19:41 +02:00
ITOH
bb6c90afe9 fix: use helpers.createChannel instead of createChannel 2021-05-12 18:19:33 +02:00
ITOH
195a0d5e16 make it a bit easier to read 2021-05-12 18:19:09 +02:00
ITOH
5ca8e22cd3 fix: await cacheHandlers.filter 2021-05-12 18:18:59 +02:00
rigormorrtiss
275d17c6fe add: stage instances (#924)
* feat: implement stage instances

Reference: https://github.com/discord/discord-api-docs/pull/2898

* feat: implement stage instances

* Update src/types/misc/stage_instance.ts

Co-authored-by: ITOH <to@itoh.at>

* Update src/helpers/misc/delete_stage_instance.ts

Co-authored-by: ITOH <to@itoh.at>

* Update src/types/misc/stage_instance.ts

Co-authored-by: ITOH <to@itoh.at>

* Move stage instances related modules to channels module

* Move to channels

* Move to channels

* Add permission checks

* Add permissions checl

* Ad inhibitors

* style: fix lint warnings

* Do not throw & add import type

Co-authored-by: ITOH <to@itoh.at>
2021-05-12 14:57:45 +01:00
ITOH
da136a27ba remove error import 2021-05-12 11:56:52 +02:00
ITOH
8693bd260d change: deleteInvite don't throw error if channel is not cached 2021-05-12 11:56:43 +02:00
ITOH
bf234c7744 Update clone_channel.ts 2021-05-12 11:56:07 +02:00
itohatweb
60428872cd Commit from GitHub Actions (Lint) 2021-05-12 07:03:31 +00:00
ITOH
c98b0e089a fix some getmessages stuff 2021-05-08 11:44:05 +02:00
TriForMine
b4b4a9e666 fix(utils): add missing export of hash.ts (#914)
* fix(utils): add missing export of hash.ts

* Commit from GitHub Actions (Lint)

Co-authored-by: TriForMine <TriForMine@users.noreply.github.com>
2021-05-08 09:18:23 +02:00
Skillz4Killz
b6da492471 Update send_webhook.ts 2021-05-07 21:10:03 -04:00
ITOH
d629cc60df Update edit_channel.ts 2021-05-07 22:22:36 +02:00
ITOH
fa8433da2c Merge branch 'fix-editchannel' of https://github.com/discordeno/discordeno into fix-editchannel 2021-05-07 17:27:41 +02:00
ITOH
954ef9ec38 some fixes 2021-05-07 17:27:35 +02:00
itohatweb
6e93dde344 Commit from GitHub Actions (Lint) 2021-05-07 14:52:41 +00:00