Commit Graph

4289 Commits

Author SHA1 Message Date
Skillz4Killz
29ff5faecd fix: edge case ack crashes big bots (#2190) 2022-05-08 09:58:57 -04:00
Reboot-Codes
e31ee82d37 Fixing the BigBot Template (#2189)
* Add `create-discordeno-bot` reference in README.md

* Switch to deno tasks.

* Fix `DISCORD_TOKEN` var

* Fix `gateway` workers

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-05-08 09:57:42 -04:00
Skillz4Killz
5a4fef855e Proxy delete channel tests (#2174)
* feat: delete channel tests

* fix: use new tests in ci

* Update testss/deps.ts

Co-authored-by: LTS20050703 <87189679+lts20050703@users.noreply.github.com>

Co-authored-by: LTS20050703 <87189679+lts20050703@users.noreply.github.com>
2022-05-08 09:57:06 -04:00
Skillz4Killz
5bafe9a52e Merge branch 'main' of https://github.com/discordeno/discordeno into main 2022-04-25 12:55:46 +00:00
Skillz4Killz
065a458dc6 fix: remove None in UserFlags Closes #2158 2022-04-25 12:55:42 +00:00
meister03
ca2fda3315 Update activity.ts (#2171)
Fix id not a snowflake
2022-04-23 16:37:42 -04:00
Skillz4Killz
ddd847cfff fix: type error in a test 2022-04-15 09:33:41 +00:00
Skillz4Killz
886e72651f fix: fmt 2022-04-15 09:31:44 +00:00
ITOH
3b5ce7e61a feat(dnt): specify repository (#2164)
Currenty we do not specify out repository in our `package.json` for npm.
This changes that to target our main repository.

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-04-15 05:20:43 -04:00
LTS20050703
2cd084be86 Delete auditlogEntry.ts (#2165) 2022-04-15 05:20:23 -04:00
meister03
8aa3be43bd fix: Add value for textinput (#2163)
Co-authored-by: meister03 <root@_HOSTNAME_>
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-04-12 06:28:59 -04:00
Skillz4Killz
126f49fa53 Merge branch 'main' of https://github.com/discordeno/discordeno into main 2022-04-12 00:48:42 +00:00
Skillz4Killz
f532e50b1b fix: fmt 2022-04-11 21:01:33 +00:00
Skillz4Killz
7ffc7127b9 fix: input text required prop 2022-04-11 21:01:13 +00:00
ITOH
eb69f54360 Merge branch 'main' of github.com:discordeno/discordeno into main 13.0.0-rc35 2022-04-10 19:28:34 +02:00
ITOH
ac9434b40a release: 13.0.0-rc35 2022-04-10 19:28:16 +02:00
Andreas Fink
412504d792 Update Component typings & their links (#2162) 2022-04-10 13:23:36 -04:00
viinz
b24893541b fix: prevent crashing the rest process (#2159)
* fix: prevent crashing the rest process

There where instances where some requests crashed the rest process. I found that checking for a body pretty much fixed it. 
There is probably a better way to do this, please improve this if you have an idea :)

* chore: use undefined instead of empty string

Co-authored-by: LTS20050703 <87189679+lts20050703@users.noreply.github.com>

* chore: use ternary operator

Co-authored-by: LTS20050703 <87189679+lts20050703@users.noreply.github.com>
2022-04-10 13:23:08 -04:00
Andreas Fink
88f7529dc4 feat: Modified processGlobalQueue to be able to handle results in runMethod (#2101)
* feat: Modified processGlobalQueue to be able to handle results in runMethod

* Apply suggestions from code review, step 1

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

* Apply suggestions from code review, step 2

* Update Files

* Update to resolve/reject

* Fixes & deno fmt

Co-authored-by: ITOH <to@itoh.at>
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-04-10 13:22:56 -04:00
ITOH
f94b6f35bb style(plugins): deno fmt 2022-04-10 14:57:21 +02:00
Skillz4Killz
df598b03ee fix: update description of prop. Closes #2149 2022-03-31 14:06:56 +00:00
Skillz4Killz
43cfc3f44b breaking: fix name in enum. Closes #2147 2022-03-31 14:05:58 +00:00
Skillz4Killz
fd6b11a66b fix: add sendStartNotification to stages. Closes #2152 2022-03-31 14:01:25 +00:00
Skillz4Killz
23357c78a5 Merge branch 'main' of https://github.com/discordeno/discordeno into main 2022-03-31 13:50:25 +00:00
Skillz4Killz
167bc73d75 fix: removes store channels 2022-03-31 13:50:19 +00:00
ITOH
c4d43f2b87 release: 13.0.0-rc34 13.0.0-rc34 2022-03-31 14:20:31 +02:00
ITOH
9980856eef refactor!: fix some spelling mistakes (#2144)
* refactor!: fix some spelling mistakes
This fixes some spelling mistakes around the code base. Note not all are fixed.

* subComponent
2022-03-31 14:16:34 +02:00
Skillz4Killz
bcaa43ab7d fix: lastShardId on startBot 2022-03-31 01:28:03 +00:00
Skillz4Killz
aaa2312ea2 fix: better comments in spawnShards 2022-03-31 01:27:45 +00:00
Skillz4Killz
cf61ed4d34 fix: use last shard id not maxShards 2022-03-31 01:27:23 +00:00
Skillz4Killz
44aa645b67 fix: bug report template code 2022-03-30 23:04:52 +00:00
Skillz4Killz
7ed30c61fc fix: fmt 2022-03-30 23:00:22 +00:00
Skillz4Killz
2921b0ead0 fix: update docs on spawnShardDelay 2022-03-30 22:59:51 +00:00
Skillz4Killz
381fbb485c fix: spawn shard delay to 5k 2022-03-30 22:59:39 +00:00
Skillz4Killz
b5def1b95f fix: update wasm dep 2022-03-30 22:59:29 +00:00
Skillz4Killz
5a7a8c2c90 fix: use workers in big bot template with resharding 2022-03-30 17:38:21 +00:00
Skillz4Killz
4c9522b83f fix: create emoji typings descriptin 2022-03-27 18:42:31 +00:00
Skillz4Killz
1aa1f02ac9 release: bug fix rc33 13.0.0-rc33 2022-03-27 18:33:02 +00:00
Skillz4Killz
482a098bed fix: resharder reset maps/sets 2022-03-27 18:32:19 +00:00
Skillz4Killz
febd8de0a6 release: rc32 13.0.0-rc32 2022-03-27 11:25:39 -04:00
ITOH
34a358f8bf feat(helpers,types)!: slash command localization (#2129)
* feat(helpers,types): slash command localization
Discord has documented the slash command localization feature now.
This adds the full functionality for those to Discordeno.

Additionally a `Locales` has also been added to allow for better typing.

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

* suggestion

* better locales type

* f

* fix serializing

* stupid direct pushes

* b
2022-03-27 11:02:27 -04:00
ITOH
23ebfac286 feat(types): add premiumSubscriber to RoleToggles (#2141)
In the role tags discord sends a `premium_subscriber` field. It seems that this has been forgotten to add.

Reference: https://discord.com/developers/docs/topics/permissions#role-object-role-tags-structure
2022-03-27 11:01:20 -04:00
ITOH
468a85ffa5 feat(types): add image_hash audit log change key (#2142)
This adds the `image_hash` audit log change key which is being used when a guild scheduled event cover image gets updated.

Reference: https://github.com/discord/discord-api-docs/pull/4707
2022-03-27 11:00:50 -04:00
Skillz4Killz
00c4227560 fix: big bot rest 2022-03-26 00:18:54 +00:00
Skillz4Killz
54708c97ba fix: i hate deno fmt 2022-03-26 00:14:07 +00:00
Skillz4Killz
253781943e release: rc31 13.0.0-rc31 2022-03-26 00:13:27 +00:00
Skillz4Killz
b06f6d2512 fix: remove get query loop loop de loop loop 2022-03-26 00:11:47 +00:00
Skillz4Killz
80d2e94840 fix: use patch not get 2022-03-25 22:02:30 +00:00
Skillz4Killz
69bcccc5fd fix: remove debug logs 2022-03-25 21:42:31 +00:00
Skillz4Killz
8bac0ebf2d fix: function call 2022-03-25 21:39:43 +00:00