Commit Graph

5354 Commits

Author SHA1 Message Date
meister03
a9938b1fcf fix: nodejs guide template. (#2433)
Co-authored-by: New Author Name <email@address.com>
2022-09-07 14:00:29 -05:00
meister03
612f0c8b64 fix: Internal Proxy Error (#2430)
Co-authored-by: meister03 <meisterpi@gmail.com>
2022-09-06 11:53:08 -05:00
Skillz4Killz
c27094d9fe fix: fmt 2022-09-05 19:03:34 +00:00
Skillz4Killz
eec21d003d fix: cleanup proxy rest errors 2022-09-05 18:10:19 +00:00
Skillz4Killz
6db8327dc0 fix: remove unused import 2022-09-05 17:59:18 +00:00
Skillz4Killz
9c1b47c4a5 fix: broken typings in automod 2022-09-05 17:59:01 +00:00
LTS20050703
3a95a1beda feat: Adds mention limits in automod (#2414)
* Adds mention limits in automod

* add mention limit to automod helper, transformer

* helpers/automod: send mention_total_limit to discord
2022-09-04 12:02:42 -05:00
LTS20050703
792c48b498 BREAKING: update channel types names (#2417)
* update channel types names

* fix ChannelTypes enum changes

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-09-04 12:01:17 -05:00
LTS20050703
b90b32de9e BREAKING: add applicationCommandBadge flag and fix name of GatewayMessageContent (#2419)
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-09-04 11:32:26 -05:00
LTS20050703
43393f1a5d BREAKING: banMember deleteMessageDays > deleteMessageSeconds (#2422)
* add ban delete_message_seconds and remove reason

* test: ban member and delete messages

* helpers/banMember: nuke deleteMessageDays

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-09-04 11:31:36 -05:00
LTS20050703
e1afec3da9 ci: github workflows tests: --jobs -> --parallel (#2428) 2022-09-04 11:29:56 -05:00
Skillz4Killz
8800beb684 fix: type issues 2022-09-03 17:01:13 +00:00
CatNowBlue
b50314faee chore: Updated example code to match final version (#2426)
* Updated example code to match final version

* readme: update example

Co-authored-by: LTS20050703 <lts20050703@gmail.com>
2022-09-03 12:41:25 -04:00
LTS20050703
43a54e1403 feat: add application_commands to audit log structure (#2421)
* add application_commands to audit log structure

* helpers/getAuditLog: add applicationCommands
2022-09-03 12:38:34 -04:00
LTS20050703
9955e109d6 feat: Add scopes field to integration structure (#2420)
* Add scopes field to integration structure

* transformers/integration: add scopes
2022-09-03 12:36:58 -04:00
LTS20050703
3518ed1e18 feat: add limit for attachment description (#2418)
* add limit for attachment description

* bot.transformers.reverse.attachment

* plugins/permissions: validate attachments
2022-09-03 12:35:41 -04:00
Awesome Stickz
fec9d6e869 BREAKING: remove GUILD_LOADED_DD as it's no longer an event (#2411)
* fix: remove GUILD_LOADED_DD as it's no longer an event

* deno fmt

* deno fmt

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
Co-authored-by: LTS20050703 <lts20050703@gmail.com>
2022-09-03 12:20:46 -04:00
LTS20050703
46e1597d74 update forum channel type (#2423)
* update forum channel type

* add forum stuff to editChannel

* plugins/permissions: createChannel

* Prefix ForumTag, DefaultReactionEmoji with Discord
2022-09-02 11:16:28 -05:00
TriForMine
2b02fd4d5a update: Update kwik to 1.3.1 (#2424)
* update: Update kwik to 1.3.0

* Update deps.ts

* fix import url

Co-authored-by: LTS20050703 <lts20050703@gmail.com>
2022-09-02 11:11:39 -05:00
meister03
cfbb1cd415 Fix Internal proxy Issue (#2413)
* Fix Internal proxy Issue

* deno fmt

Co-authored-by: meister03 <meisterpi@gmail.com>
2022-09-01 13:11:02 -05:00
Awesome Stickz
73452f43f5 fix: ignore GUILD_DELETE events for unavailable guilds in big bot template (#2412)
* fix: ignore GUILD_DELETE events for unavailable guilds in big bot template

* update worker.ts

Co-authored-by: LTS20050703 <lts20050703@gmail.com>

* fix: small stuff

Co-authored-by: LTS20050703 <lts20050703@gmail.com>
2022-09-01 12:34:48 -05:00
Skillz4Killz
ae669e28fe release: v13 13.0.0 2022-08-31 16:28:02 +00:00
Skillz4Killz
19141fbe23 fix: stopbot should cleanly shutdown Closes #2381 2022-08-31 16:23:47 +00:00
Skillz4Killz
4a3feaf5d6 fix: fmt 2022-08-31 16:19:49 +00:00
Skillz4Killz
40621a215a feat: untested resharder 2022-08-31 16:19:14 +00:00
Skillz4Killz
176b85fa80 fix: slight ping bug 2022-08-31 16:19:03 +00:00
Skillz4Killz
d2af3ae896 fix: cleanup 2022-08-31 16:18:51 +00:00
Skillz4Killz
26803a33af fix: cache members 2022-08-30 17:41:02 +00:00
Skillz4Killz
5e438da5cb Merge branch 'main' of https://github.com/discordeno/discordeno into main 2022-08-30 16:40:06 +00:00
Skillz4Killz
7f8abb7862 fix: annoying ts requires .js imports now in node16 2022-08-30 16:40:02 +00:00
Dorian Oszczęda
bb63f2f7e8 fix: Add missing user property. (#2398) 2022-08-29 10:47:07 -04:00
Skillz4Killz
cb1a209dd4 Merge branch 'main' of https://github.com/discordeno/discordeno into main 2022-08-28 23:09:22 +00:00
Skillz4Killz
9a823cb0f5 fix: prisma requests and typings 2022-08-28 23:09:18 +00:00
Dorian Oszczęda
ddf2046554 fix: Add missing properties to application command create/update payloads. (#2397)
* misc: Add `descriptionLocalizations` to properties omitted for context commands.

* style: 'option/s' -> 'command/s'.

* fix: Add missing properties to payloads.
2022-08-28 14:12:41 -04:00
Skillz4Killz
8c4c51e8f1 fix: fmt 2022-08-28 11:34:38 +00:00
Skillz4Killz
ac82931e98 release: rc51 several small bug fixes and improvements to typings 13.0.0-rc51 2022-08-28 11:33:35 +00:00
Skillz4Killz
8c5fcbfefa fix: double Invite declarations 2022-08-28 11:29:25 +00:00
Skillz4Killz
d0b0884b89 fix: broken unit tests 2022-08-28 11:24:05 +00:00
Skillz4Killz
e064aa2aab fix: fmt 2022-08-28 11:19:13 +00:00
Skillz4Killz
9d6cc2f210 Merge branch 'main' of https://github.com/discordeno/discordeno into main 2022-08-28 11:18:53 +00:00
Skillz4Killz
6aafccacb8 feat: bot layer for big bot temp(incomplete) 2022-08-28 11:18:48 +00:00
Skillz4Killz
94d5b20339 fix: description is not required for ctx cmds 2022-08-28 11:17:43 +00:00
Dorian Oszczęda
c9659bca4c feat!: Add return types to helper functions. (#2395)
* feat: Add return types to forum channel helpers.

* fix: Use Discord-defined property names. Add `flags` property.

* feat: Add return types to thread channel helpers.

* feat: Add return types to channel helpers.

* feat: Add return types to server discovery helpers.

* misc!: Consistency: 'remove' -> 'delete'.

* misc!: Add `get` keyword to function and file name.

* feat: Add return types to emoji helpers.

* misc!: Remove unused `bot` parameter. Capitalise 'URL'.

* feat: Add return types to guild automod helpers.

* feat: Add return types to guild scheduled event helpers.

* misc!: Consistency: Rename `emojiURL` to `getEmojiURL`.

* feat: Add return types to guild helpers.

* misc!: Consistency: Add 'get' keyword to function and file names.

* feat: Add return types to invite helpers.

* feat: Add return types to integration helpers.

* feat: Add return types to application command helpers.

* feat: Add return types to followup message helpers.

* feat: Add return types to interaction response helpers.

* feat: Add return type to `createInvite()`.

* feat: Add return types to member helpers.

* misc!: Consistency: Add 'get' keyword to function and file names.

* feat: Add return types to message helpers.

* misc!: Consistency: 'remove' -> 'delete'.

* fix: Use `slice()` to prevent unwanted side effects.

* feat: Add return types to miscellaneous helpers.

* misc!: Consistency: Add 'get' keyword to function and file names.

* feat: Add return types to role helpers.

* feat: Add return types to oauth helpers.

* feat: Add return types to template helpers.

* misc!: Consistency: Add 'guild' keyword to name.

* feat: Add return types to voice helpers.

* fix: Name function correctly.

* feat: Add return types to webhook helpers.

* misc!: Consistency: Rename `sendWebhook` to `sendWebhookMessage`.

* misc: Update exports.

* fix: Imports.

* fix: Change return collection key type from `string` to `bigint`. Remove redundant code.

* misc: Remove `undefined` from `runMethod()` return type.

* style: Remove redundant types.

* style: Rename endpoint call result variables to `result` and `results`.

* misc: Reintroduce `bot` as first parameter.

* misc: Adapt tests to changes made to helpers.

* fix: Object being transformed twice.

* style: Improve naming consistency of remaining files.

* misc: `bigint` -> `number`.

* style: Remove explicit `undefined` return.

* style: Remove `void` operator in favour of generic type.

* misc: Add missing `await` keyword.

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>

* style: Make `reason` property optional instead of `undefined`-able.

* misc: Write out properties manually instead of using the spread operator.

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-08-28 07:17:08 -04:00
Skillz4Killz
dc22c06912 fix: missing util exports 2022-08-28 11:10:41 +00:00
Skillz4Killz
becef7bc46 release: rc50 Embeds package 13.0.0-rc50 2022-08-26 23:47:06 +00:00
Skillz4Killz
b8b961bdd4 fix: fmt 2022-08-26 23:46:24 +00:00
Skillz4Killz
196bcb1d70 feat: Embeds package 2022-08-26 23:46:06 +00:00
Skillz4Killz
1e21f95655 feat: big bot gateway proxy 2022-08-26 17:51:41 +00:00
Skillz4Killz
497132068d release: rc49 logger package 13.0.0-rc49 2022-08-26 17:45:28 +00:00
Skillz4Killz
8d7eb05a28 fix: fmt 2022-08-26 17:43:55 +00:00