Skillz
15fd5d123c
fix: applicationId supports strings. Closes #3038
2023-08-20 11:09:40 -05:00
Awesome Stickz
6e231b5276
feat: add message_author_id to Message Reaction Add event ( #3101 )
2023-08-19 14:59:11 +00:00
Endy
2d0f76ec5c
fix(bot): channel transformer bitrate prop ( #3100 )
2023-08-08 16:38:23 +00:00
Fleny
e70a1788f5
Bug(gateway) Fix fetch of discord gateway session information ( #3098 )
...
* bug(gateway) Remove update createBot options
Add overrides when fetching discord session info
* Use createBot options instead of defaults
2023-08-05 18:31:35 +00:00
NeKz
1424e5552b
fix(bot): Transform hashes correctly ( #3091 )
2023-08-05 18:26:16 +00:00
8au
d0db3420f7
fix: 'INVITE_DELETE' event now uses 'handleInviteDelete' (previously used 'handleInviteCreate') ( #3064 )
...
* fix: Fixed an issue which would cause the 'INVITE_DELETE' event to be passed into 'INVITE_CREATE'.
* chore: updated guild counts for appy and ai image generator
* chore: removed duplicate line in the message transformer
2023-07-23 15:54:34 -05:00
Jovan Jovanovic
9f0e4d3dd7
fix(types,bot) Fix global name typing ( #3053 )
...
* fix(types,bot): fix global_name typing
* fix(types): include global_name in the comment
* fix(utils): add global_name to users
2023-06-17 19:15:57 -05:00
Andreas Fink
0d08c57d56
feat(bot): Add guildUnavailable event, fixes #3028 ( #3044 )
...
* feat(bot): Add guildUnavailable event, fixes #3028
* Update packages/bot/src/handlers/guilds/GUILD_DELETE.ts
---------
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2023-06-13 15:39:48 +00:00
Awesome Stickz
f9a5fc1afe
feat: add support for new username system ( #3035 )
...
* feat: add support for new username system
* fix: default avatar calculation in avatarUrl(), also remove support for old system
* fix: use description from docs for user.globalName
* fix: typings
* fix: avatarUrl() to support both old and new username system
2023-06-13 15:39:06 +00:00
Endy
dcc121af46
fix(gateway): Use Deno's WebSocket ( #3030 )
...
* fix(gateway): Use Deno's WebSocket
* invert runtime check
2023-06-05 02:27:38 +00:00
Skillz
c675b450c1
fix: deno ws fix
2023-05-08 14:02:18 -05:00
Skillz
9de1f66bca
fix: guild object should accept thread channels Closes #3024
2023-05-08 13:43:42 -05:00
Endy
c76a173655
Add channel_types prop to channel select menu ( #3027 )
...
https://discord.com/developers/docs/interactions/message-components#select-menu-object-select-menu-structure
2023-05-08 16:33:57 +00:00
Endy
dfbee47667
Fix BaseInteraction.respond & response validation ( #3023 )
2023-05-08 15:58:33 +00:00
Endy
2b83d691b3
Toggle Interaction.acknowledged in defer ( #3022 )
2023-05-06 14:57:43 +00:00
Skillz4Killz
1d232ac34a
fix: interaction.edit type
2023-05-05 23:27:40 +00:00
Endy
37aa4198c2
feat(bot): add more helper functions to BaseInteraction ( #3018 )
...
* Add more helper functions for `BaseInteraction`
- Breaking changes for `respond`
- `response` now takes `InteractionCallbackData`
- `options` is now `ephemeral: boolean`
- Added `edit`, `defer` and `delete`
* Add comments and `acknowledged` check for `defer`
* Update packages/bot/src/transformers/interaction.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
* Revert `respond` options, rename `ephemeral` to `private`
* Fix typo
* Fix arg name
- Renamed `private` to `isPrivate` to prevent reserved name collision
- Optional chaining for `options`
* Apply suggestions from code review
---------
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2023-05-05 15:52:49 +00:00
Skillz
5c42bdd3ed
Merge branch 'main' of https://github.com/discordeno/discordeno into main
2023-04-28 14:14:33 -05:00
Skillz
4dd7ca71c5
fix: interaction.respond typing
2023-04-28 14:14:29 -05:00
livelove1987
be142101e9
fix: Fixed message transformers ( #3013 )
2023-04-27 22:44:26 +00:00
Skillz
e2d86ea644
fix: channel.parentId
2023-04-19 14:33:45 -05:00
Skillz
b044211b27
fix: missing helpers
2023-04-19 14:00:42 -05:00
Skillz
a6c5cc4ca9
fix: mark acknowledged when responding
2023-04-19 13:16:52 -05:00
Skillz4Killz
e54f51a7af
fix: hack in helpers again ( #3008 )
...
* fix: hack in helpers again
* fix: remaining type errors
* fix: weird linter issue
2023-04-19 12:57:36 -05:00
Skillz4Killz
7b06df4b1c
feat:i interaction.respond
2023-04-19 04:21:50 +00:00
Yaikava
fd518cb554
🐛 - fix: bot pkg - gateway - prefer snakecase by default ( #3006 )
2023-04-16 23:53:02 +00:00
Awesome Stickz
85ea2d9b8c
fix(bot): missing exports of types ( #3004 )
...
* fix(bot): missing exports of types
* fix: add other exports
2023-04-16 23:51:17 +00:00
Skillz4Killz
e19eca5e80
fix: transformer customizers for channel, member, role, user
2023-04-10 04:09:45 +00:00
Skillz4Killz
cebe1f4056
Merge branch 'main' of https://github.com/discordeno/discordeno
2023-04-10 03:24:17 +00:00
Skillz4Killz
987728ab78
fix: channel create guild id was missing
2023-04-10 03:23:52 +00:00
DeveloperDragon
da0590120f
feat(bot): add Interaction.data.type for Command interactions ( #2987 )
...
* Add type property to data
* Add back type I accidentally removed
---------
Co-authored-by: ITOH <to@itoh.at >
2023-04-09 21:59:49 +00:00
Skillz4Killz
40eaf1757c
refactor(bot)!: interaction.data.guildId is useless ( #2982 )
2023-04-08 16:32:31 +02:00
Skillz4Killz
8ed5aed3a3
fix: linter errors
2023-04-07 17:56:36 +00:00
Skillz4Killz
3e88d5c956
fix: slight code improvement
2023-04-07 17:44:29 +00:00
Skillz4Killz
a571431cf6
feat: channel, member, role with new style
2023-04-07 17:21:29 +00:00
Skillz4Killz
b5cca2e1c9
feat: transformer user new style
2023-04-06 06:50:27 +00:00
Skillz4Killz
e318e44752
feat: interaction transformer new style
2023-04-05 21:08:04 +00:00
Skillz4Killz
32fe8b8d88
fix: remove private thread
2023-04-05 18:41:36 +00:00
ITOH
f249e58c68
feat(bot,types): add missing automod trigger metadata ( #2973 )
2023-04-05 17:55:32 +00:00
Skillz4Killz
04d7db89a5
fix: export transformers na dhandler ( #2959 )
...
Co-authored-by: ITOH <to@itoh.at >
2023-04-03 17:28:11 +00:00
ITOH
088fd12513
fix(bot)!: rename auditLogEntryCreate to guildAuditLogEntryCreate ( #2952 )
...
* fix(bot)!: rename `auditLogEntryCreate` to `guildAuditLogEntryCreate`
* need to start small
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
* also remove this
* suggestions
---------
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2023-04-03 15:52:34 +00:00
ITOH
1f26dd58d1
need to end with .js
2023-04-03 00:08:16 +02:00
ITOH
1aa053a29a
more fixes
2023-04-03 00:04:44 +02:00
ITOH
43844571cc
feat(bot): allow passing of applicationId ( #2954 )
...
* feat(bot): allow passing of applicationId
* Update packages/bot/src/bot.ts
2023-04-02 23:20:00 +02:00
Skillz4Killz
dea9d1d152
fix(transformers): message transformer using different style ( #2916 )
...
* fix(transformers): message transformer using different style
* fix: more bench tests
* fix(bench): token can not be empty
* more desired props
* fix: bug on message.id props
* fix: transfomrer errors on bench
---------
Co-authored-by: Jonathan Ho <heiheiho000@gmail.com >
2023-04-01 21:26:46 -05:00
ITOH
bcfeb5b6ae
feat(bot,types): add Guild.maxStageVideoChannelUsers ( #2935 )
...
Closes: https://github.com/discordeno/discordeno/issues/2927
2023-04-01 19:18:26 +00:00
ITOH
05fc3fbeba
style: format ( #2925 )
2023-04-01 02:46:46 +02:00
ITOH
f5abd83cc5
fix(bot,rest,types)!: attachment sending ( #2917 )
...
* fix(bot,rest,types)!: attachment sending
* apply code suggestions
* forgot to add that
* this should not be there i guess
* maybe spell it right
* actually revert the attachments rename
* Change how method gets passed
* more stuff
* improve function name
2023-03-31 20:50:53 +00:00
ITOH
69d818cf84
fix(bot): channel transformer managed
2023-03-29 19:08:19 +02:00
ITOH
bfd1936581
feat(bot,client,types): add role subscriptions ( #2899 )
...
Closes: https://github.com/discordeno/discordeno/issues/2859
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2023-03-29 10:49:04 -05:00