Commit Graph

161 Commits

Author SHA1 Message Date
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 2021-05-26 20:15:34 +02:00
ITOH
59d35230b1 change to newest tag version 2021-05-23 21:15:00 +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
db2fd9929d change: update version before tag 2021-05-23 17:32:03 +02:00
ITOH
11cdf184f5 change: update deps 2021-05-23 17:30:03 +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
411c85aed9 Update utils.ts 2021-05-23 11:55:10 +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
34021d7d04 first add this 2021-05-17 21:13:33 +02:00
ITOH
d4fd9f2e6b change: update deps 2021-05-15 12:59:33 +02:00
ITOH
70deeece68 Merge pull request #928 from discordeno/command-names-have-to-be-lowercase
change: command names can only be lowercase
2021-05-13 17:39:29 +01: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
4ba076ba5d change: command names can only be lowercase 2021-05-12 09:00:56 +02:00
rigormorrtiss
09dc3d11af refactor(util): util-specific dependencies file (#920) 2021-05-10 21:31:33 +04:00
ITOH
06b90bdbc2 fix: loopObject should not convert blobs (#919)
* fix: loopObject should not convert blobs

* Commit from GitHub Actions (Lint)

Co-authored-by: itohatweb <itohatweb@users.noreply.github.com>
2021-05-10 16:15:21 +01:00
ITOH
68111c7d65 bigint fixxess 2021-05-08 11:30:46 +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
ITOH
94e298d2c1 don't start queue if members empty 2021-05-07 18:06:47 +02:00
Skillz4Killz
a32f5b5ece convert hashes to big ints + bools 2021-05-07 12:57:36 +00:00
Skillz4Killz
d1a92718bd fix a bug 2021-05-06 14:43:56 +00:00
Skillz4Killz
636d801901 allow default unicode emojis 2021-05-06 14:41:08 +00:00
ITOH
5f6d556e1d add check 2021-05-06 14:53:24 +02:00
ITOH
7ff0d242ff hopefully the last dir change 2021-05-05 20:06:32 +02:00
rigormorrtiss
6f280e7781 change(types): move error & file_content to discordeno/ (#903)
* refactor(types): move errors, file_content module to types/discordeno

* refactor(types): move error & file_content module to discordeno/

* Update and fix import statements
2021-05-05 17:19:28 +01:00
ITOH
29808b6f01 Merge branch 'change-cache-members' of https://github.com/discordeno/discordeno into change-cache-members 2021-05-05 18:09:58 +02:00
ITOH
7e37a90bb9 more things 2021-05-05 18:09:39 +02:00
Skillz4Killz
9b300ec411 Merge branch 'main' into change-cache-members 2021-05-05 12:08:45 -04:00
ITOH
bbf61cd951 jdo 2021-05-05 17:16:18 +02:00
ITOH
287e9317f4 better 2021-05-05 17:15:38 +02:00
ITOH
c4842cde69 add cache members export 2021-05-05 15:56:32 +02:00
ITOH
be6ff0abd7 remove initial cache members queue 2021-05-05 15:55:40 +02:00
ITOH
aefd5c75f5 fix changes 2021-05-04 21:05:43 +02:00
ITOH
73d73a3e26 Merge branch 'main' of https://github.com/discordeno/discordeno into main 2021-05-04 18:34:28 +02:00
ITOH
4dc0e636e0 edit webhook default original 2021-05-04 18:34:27 +02:00
ITOH
c60422a23f Merge branch 'main' into threads 2021-05-04 17:45:38 +02:00
ITOH
6e7ca7688c for the utils 2021-05-04 12:42:13 +02:00
ITOH
83510eee1a Merge branch 'threads' of https://github.com/discordeno/discordeno into threads 2021-05-03 21:46:48 +02:00
ITOH
0947486411 fix: now bigint 2021-05-03 21:19:53 +02:00
Skillz4Killz
9f27297112 deno fmt 2021-05-03 18:53:10 +00:00
itohatweb
7f7273ed2e Commit from GitHub Actions (Lint) 2021-05-03 18:51:15 +00:00
ITOH
f91bf2871f Merge branch 'main' into threads 2021-05-03 20:50:53 +02:00
Skillz4Killz
b6b3d31c55 export all utils 2021-05-03 17:39:54 +00: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
2396ba2ce4 deno lint stupid 2021-05-02 21:30:26 +02:00
ITOH
59bc25fd67 fix: THREAD_ARCHIVED_BASE constant missing threads/ 2021-05-02 20:52:05 +02:00
ITOH
b5f5b0caf6 add: more thread endpoints 2021-05-02 14:39:27 +02:00