LTS20050703
a0f130db50
BREAKING: Rename getWebhooks to getGuildWebhooks ( #2465 )
...
* rename getWebhooks to getGuildWebhooks
move getChannelWebhooks from `helpers/channels` to `helpers/webhooks`
* helpers/webhooks: getWebhook -> getGuildWebhooks
* tests: fix webhook test
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2022-10-07 16:08:36 -05:00
TriForMine
1da3ffa6d2
[Unit Tests] Utils: Collection ( #2499 )
...
* add collection unit test
* Update tests/utils.test.ts
* Update tests/utils.test.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2022-10-07 16:08:20 -05:00
Skillz4Killz
5cb8388f91
fix: get gateway test
2022-10-03 19:48:33 +00:00
Skillz4Killz
3404c7880a
fix: get sticker test
2022-10-03 19:32:27 +00:00
Skillz4Killz
2829b1d064
fix: stickers tests
2022-10-03 19:15:55 +00:00
LTS20050703
e7b3a1fff9
tests: fix stickers test ( #2497 )
...
* tests: fix stickers test
* tests: fix stickers size must be 320x320
* deno fmt
* Update README.md
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2022-10-02 12:24:43 -04:00
Skillz4Killz
b4576851cf
fix: disable sticker tests
2022-10-01 18:08:50 +00:00
LTS20050703
39a806ff9c
fix: errors ( #2496 )
...
* fix: errors
* fix: err can be undefined
* tests: fix sticker tests
* fix: create channel require name
* fix: sticker helpers and tests
* tests: delete channel after tested guild stickers
2022-10-01 12:14:59 -04:00
LTS20050703
19c89dd1c1
tests: rate limit test ( #2485 )
...
* tests: rate limit test
* tests/misc: rateLimit.test promise.all
2022-09-23 13:04:04 -04:00
LTS20050703
17132aaf61
feat(helpers): add stickers helpers ( #2466 )
...
* helpers: add stickers helpers
* deno fmt
* undo move getNitroStickerPack to stickers
* helpers/stickers: fix jsdocs
* plugins/permissions: check stickers permissions
* plugins/validations: validate stickers stuff
* tests: stickers unit tests
* helpers/stickers: add support for reason
* plugins/permissions: MANAGE_EMOJIS -> MANAGE_EMOJIS_AND_STICKERS
* tests/stickers: delete sticker after test
createGuildSticker: add send sticker test
getGuildStickers: create another sticker then test > 1 stickers
2022-09-22 11:31:41 -04:00
LTS20050703
7198bba049
BREAKING: Remove server discovery helpers due to lack of support ( #2464 )
...
* Remove server discovery helpers due to lack of support
The helpers found under `/helpers/discovery` directory are undocumented and not for public bot use.
* delete discovery test and permission check
* deno fmt
2022-09-17 11:11:31 -05:00
LTS20050703
150b5d45dd
Release: Discordeno@15.0.0 ( #2462 )
2022-09-12 11:56:07 -05:00
Skillz4Killz
bbbe21ebf2
BREAKING: add docs ( #2442 )
...
* refactor(helpers): Organise functions. (#2425 )
* refactor: Move stage instance helper functions into `/stages` subdirectory.
* refactor: Move `followChannel.ts` to `/announcements` subdirectory.
* refactor: Move `updateVoiceState.ts` to `/guilds` directory.
* refactor: Move `getPins.ts` to `/messages` directory.
* refactor: Move voice-related helper functions into `/voice` subdirectory.
* refactor: Rename `/scheduledEvents` to `/events`.
* refactor: Move widget-related helper functions into `/widgets` subdirectory.
* refactor: Make `/integrations` a subdirectory of `/guilds`.
* refactor: Move helper functions related to interaction responses into the `/responses` subdirectory.
* refactor: Move `verifySignature.ts` to `/util` directory.
* refactor: Move `getChannelInvites.ts` to `/channels` directory.
* refactor: Make `/invites` a subdirectory of `/guilds`.
* refactor: Move reaction-related helper functions into the /reactions subdirectory.
* refactor: Move `getApplicationInfo.ts` into the `/misc` directory.
* refactor: Move voice-related helper functions from `/voice` to `/guilds/voice`.
* fix: Update and simplify type imports.
* refactor!(helpers): Rename helpers to match Discord API. Create a 1:1 helper-to-endpoint correspondence. (#2427 )
* refactor: Move stage instance helper functions into `/stages` subdirectory.
* refactor: Move `followChannel.ts` to `/announcements` subdirectory.
* refactor: Move `updateVoiceState.ts` to `/guilds` directory.
* refactor: Move `getPins.ts` to `/messages` directory.
* refactor: Move voice-related helper functions into `/voice` subdirectory.
* refactor: Rename `/scheduledEvents` to `/events`.
* refactor: Move widget-related helper functions into `/widgets` subdirectory.
* refactor: Make `/integrations` a subdirectory of `/guilds`.
* refactor: Move helper functions related to interaction responses into the `/responses` subdirectory.
* refactor: Move `verifySignature.ts` to `/util` directory.
* refactor: Move `getChannelInvites.ts` to `/channels` directory.
* refactor: Make `/invites` a subdirectory of `/guilds`.
* refactor: Move reaction-related helper functions into the /reactions subdirectory.
* refactor: Move `getApplicationInfo.ts` into the `/misc` directory.
* refactor: Move voice-related helper functions from `/voice` to `/guilds/voice`.
* fix: Update and simplify type imports.
* refactor: Rename `followChannel` -> `followAnnouncementChannel`.
* refactor: Rename `createForumPost` -> `startForumThread`.
* refactor: Normalise keyword `update` -> `edit`.
* refactor: Rename `addToThread` -> `addThreadMember`.
* refactor: Rename `ChannelOverwrite` -> `ChannelPermissions`.
* refactor: Rename `startTyping` -> `triggerTypingIndicator`.
* refactor: Rename `swapChannels` -> `editChannelPositions`.
* refactor: Rename `getPins` -> `getPinnedMessages`.
* refactor: Rename `publish` -> `crosspost`.
* refactor: Normalise keyword `modify` -> `edit`.
* refactor: Normalise naming.
* fix: Imports.
* style: Remove empty object.
* refactor: Split `getArchivedThreads` into three files for public, private and private joined threads.
* refactor: Split `getApplicationCommands` into two files, for guild and global commands respectively.
* refactor: Split `getApplicationCommand` into two files, for guild and global commands respectively.
* fmt: Organise imports.
* misc: Include application command reverse transformer.
* misc: Make ordering of fields match up with the Discord API.
* fix: Add missing payload properties.
* refactor: Split `createApplicationCommand` into two files, for guild and global commands respectively.
* refactor: Split `upsertApplicationCommand` into two files, for guild and global commands respectively.
* refactor: Split `upsertApplicationCommands` into two files, for guild and global commands respectively.
* fix: Update exports.
* refactor: Split `deleteApplicationCommand` into two files, for guild and global commands respectively.
* fix: Add missing exports.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* feat: Create `getInteractionResponse.ts`.
* refactor: Matching API: `InteractionResponse` -> `FollowupMessage`.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* refactor: Remove `/followups` directory in favour of newly created files in `/responses`.
* refactor: Rename `bot`/`self` -> `own`, `others` -> `user`.
* refactor: Split function into `deleteOwnReaction` and `deleteUserReaction`.
* refactor: Reduce code duplication in processing reaction string.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* refactor: Rename function name.
* misc: Add aliases to functions to reduce breakage.
* refactor: Rename `startForumThread` -> `createForumThread`.
* misc: Move types from helper file to `/types` and create transformer.
* fix: Imports.
* style: Rename parameter `command` -> `payload`.
* feat: Create interaction response transformer.
* misc: Adapt code to use the interaction response transformer.
* misc: Adapt code to use interaction response transformer.
* refactor: Re-include the keyword `Override` in the file + function names.
* refactor: Rename `updateVoiceState` -> `editVoiceState` for consistency reasons.
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
* BREAKING: docs(helpers): Document helper functions. (#2437 )
* refactor: Move stage instance helper functions into `/stages` subdirectory.
* refactor: Move `followChannel.ts` to `/announcements` subdirectory.
* refactor: Move `updateVoiceState.ts` to `/guilds` directory.
* refactor: Move `getPins.ts` to `/messages` directory.
* refactor: Move voice-related helper functions into `/voice` subdirectory.
* refactor: Rename `/scheduledEvents` to `/events`.
* refactor: Move widget-related helper functions into `/widgets` subdirectory.
* refactor: Make `/integrations` a subdirectory of `/guilds`.
* refactor: Move helper functions related to interaction responses into the `/responses` subdirectory.
* refactor: Move `verifySignature.ts` to `/util` directory.
* refactor: Move `getChannelInvites.ts` to `/channels` directory.
* refactor: Make `/invites` a subdirectory of `/guilds`.
* refactor: Move reaction-related helper functions into the /reactions subdirectory.
* refactor: Move `getApplicationInfo.ts` into the `/misc` directory.
* refactor: Move voice-related helper functions from `/voice` to `/guilds/voice`.
* fix: Update and simplify type imports.
* refactor: Rename `followChannel` -> `followAnnouncementChannel`.
* refactor: Rename `createForumPost` -> `startForumThread`.
* refactor: Normalise keyword `update` -> `edit`.
* refactor: Rename `addToThread` -> `addThreadMember`.
* refactor: Rename `ChannelOverwrite` -> `ChannelPermissions`.
* refactor: Rename `startTyping` -> `triggerTypingIndicator`.
* refactor: Rename `swapChannels` -> `editChannelPositions`.
* refactor: Rename `getPins` -> `getPinnedMessages`.
* refactor: Rename `publish` -> `crosspost`.
* refactor: Normalise keyword `modify` -> `edit`.
* refactor: Normalise naming.
* fix: Imports.
* style: Remove empty object.
* refactor: Split `getArchivedThreads` into three files for public, private and private joined threads.
* refactor: Split `getApplicationCommands` into two files, for guild and global commands respectively.
* refactor: Split `getApplicationCommand` into two files, for guild and global commands respectively.
* fmt: Organise imports.
* misc: Include application command reverse transformer.
* misc: Make ordering of fields match up with the Discord API.
* fix: Add missing payload properties.
* refactor: Split `createApplicationCommand` into two files, for guild and global commands respectively.
* refactor: Split `upsertApplicationCommand` into two files, for guild and global commands respectively.
* refactor: Split `upsertApplicationCommands` into two files, for guild and global commands respectively.
* fix: Update exports.
* refactor: Split `deleteApplicationCommand` into two files, for guild and global commands respectively.
* fix: Add missing exports.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* feat: Create `getInteractionResponse.ts`.
* refactor: Matching API: `InteractionResponse` -> `FollowupMessage`.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* refactor: Remove `/followups` directory in favour of newly created files in `/responses`.
* refactor: Rename `bot`/`self` -> `own`, `others` -> `user`.
* refactor: Split function into `deleteOwnReaction` and `deleteUserReaction`.
* refactor: Reduce code duplication in processing reaction string.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* refactor: Rename function name.
* misc: Add aliases to functions to reduce breakage.
* refactor: Rename `startForumThread` -> `createForumThread`.
* misc: Move types from helper file to `/types` and create transformer.
* fix: Imports.
* style: Rename parameter `command` -> `payload`.
* feat: Create interaction response transformer.
* misc: Adapt code to use the interaction response transformer.
* misc: Adapt code to use interaction response transformer.
* docs: Document announcement channel helpers.
* docs: Document forum channel helpers.
* docs: Document stage instance helpers.
* misc: Update wording.
* docs: Document thread channel helpers.
* refactor: Re-include the keyword `Override` in the file + function names.
* refactor: Rename `updateVoiceState` -> `editVoiceState` for consistency reasons.
* docs: Document channel helpers.
* docs: Use `parameters` instead of `options` for descriptions.
* docs: Document guild discovery helpers.
* docs: Document emoji helpers.
* docs: Add missing information about which gateway events are fired.
* docs: Document auto moderation helpers.
* docs: Document scheduled event helpers.
* docs: Document integration helpers.
* docs: Document invite helpers.
* refactor: Rename `editWidget` -> `editWidgetSettings`.
* docs: Document guild widget helpers.
* docs: 'event' -> 'gateway event'.
* refactor: Rename `getAuditLogs` -> `getAuditLog`.
* docs: Document guild helpers.
* refactor: Rename `upsert*ApplicationCommand` -> `edit*ApplicationCommand`.
* docs: Document application command helpers.
* docs: Improve consistency in indentation.
* docs: Document interaction response + follow-up message helpers.
* docs: Document gateway event firings for endpoints.
* refactor: Delete `editBotNickname` due to being a subset of `editMember`.
* docs: Fix inconsistency.
* docs: Document member helpers.
* docs: Document reaction helpers.
* docs: Improve consistency.
* docs: Document message helpers.
* docs: Document role helpers.
* docs: Document guild template helpers.
* docs: Fix incorrect gateway event.
* refactor: Rename `sendWebhookMessage` -> `executeWebhook`.
* docs: Document webhook helpers.
* docs: Document voice helpers.
* fmt: Run Deno formatter.
* docs: Improve consistency.
* refactor: Rename the `/widgets` directory to `/widget`.
* fmt: Run Deno formatter.
* misc: Re-add the deleted `editBotNickname()` helper. (#2443 )
* refactor: Move stage instance helper functions into `/stages` subdirectory.
* refactor: Move `followChannel.ts` to `/announcements` subdirectory.
* refactor: Move `updateVoiceState.ts` to `/guilds` directory.
* refactor: Move `getPins.ts` to `/messages` directory.
* refactor: Move voice-related helper functions into `/voice` subdirectory.
* refactor: Rename `/scheduledEvents` to `/events`.
* refactor: Move widget-related helper functions into `/widgets` subdirectory.
* refactor: Make `/integrations` a subdirectory of `/guilds`.
* refactor: Move helper functions related to interaction responses into the `/responses` subdirectory.
* refactor: Move `verifySignature.ts` to `/util` directory.
* refactor: Move `getChannelInvites.ts` to `/channels` directory.
* refactor: Make `/invites` a subdirectory of `/guilds`.
* refactor: Move reaction-related helper functions into the /reactions subdirectory.
* refactor: Move `getApplicationInfo.ts` into the `/misc` directory.
* refactor: Move voice-related helper functions from `/voice` to `/guilds/voice`.
* fix: Update and simplify type imports.
* refactor: Rename `followChannel` -> `followAnnouncementChannel`.
* refactor: Rename `createForumPost` -> `startForumThread`.
* refactor: Normalise keyword `update` -> `edit`.
* refactor: Rename `addToThread` -> `addThreadMember`.
* refactor: Rename `ChannelOverwrite` -> `ChannelPermissions`.
* refactor: Rename `startTyping` -> `triggerTypingIndicator`.
* refactor: Rename `swapChannels` -> `editChannelPositions`.
* refactor: Rename `getPins` -> `getPinnedMessages`.
* refactor: Rename `publish` -> `crosspost`.
* refactor: Normalise keyword `modify` -> `edit`.
* refactor: Normalise naming.
* fix: Imports.
* style: Remove empty object.
* refactor: Split `getArchivedThreads` into three files for public, private and private joined threads.
* refactor: Split `getApplicationCommands` into two files, for guild and global commands respectively.
* refactor: Split `getApplicationCommand` into two files, for guild and global commands respectively.
* fmt: Organise imports.
* misc: Include application command reverse transformer.
* misc: Make ordering of fields match up with the Discord API.
* fix: Add missing payload properties.
* refactor: Split `createApplicationCommand` into two files, for guild and global commands respectively.
* refactor: Split `upsertApplicationCommand` into two files, for guild and global commands respectively.
* refactor: Split `upsertApplicationCommands` into two files, for guild and global commands respectively.
* fix: Update exports.
* refactor: Split `deleteApplicationCommand` into two files, for guild and global commands respectively.
* fix: Add missing exports.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* feat: Create `getInteractionResponse.ts`.
* refactor: Matching API: `InteractionResponse` -> `FollowupMessage`.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* refactor: Remove `/followups` directory in favour of newly created files in `/responses`.
* refactor: Rename `bot`/`self` -> `own`, `others` -> `user`.
* refactor: Split function into `deleteOwnReaction` and `deleteUserReaction`.
* refactor: Reduce code duplication in processing reaction string.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* refactor: Rename function name.
* misc: Add aliases to functions to reduce breakage.
* refactor: Rename `startForumThread` -> `createForumThread`.
* misc: Move types from helper file to `/types` and create transformer.
* fix: Imports.
* style: Rename parameter `command` -> `payload`.
* feat: Create interaction response transformer.
* misc: Adapt code to use the interaction response transformer.
* misc: Adapt code to use interaction response transformer.
* docs: Document announcement channel helpers.
* docs: Document forum channel helpers.
* docs: Document stage instance helpers.
* misc: Update wording.
* docs: Document thread channel helpers.
* refactor: Re-include the keyword `Override` in the file + function names.
* refactor: Rename `updateVoiceState` -> `editVoiceState` for consistency reasons.
* docs: Document channel helpers.
* docs: Use `parameters` instead of `options` for descriptions.
* docs: Document guild discovery helpers.
* docs: Document emoji helpers.
* docs: Add missing information about which gateway events are fired.
* docs: Document auto moderation helpers.
* docs: Document scheduled event helpers.
* docs: Document integration helpers.
* docs: Document invite helpers.
* refactor: Rename `editWidget` -> `editWidgetSettings`.
* docs: Document guild widget helpers.
* docs: 'event' -> 'gateway event'.
* refactor: Rename `getAuditLogs` -> `getAuditLog`.
* docs: Document guild helpers.
* refactor: Rename `upsert*ApplicationCommand` -> `edit*ApplicationCommand`.
* docs: Document application command helpers.
* docs: Improve consistency in indentation.
* docs: Document interaction response + follow-up message helpers.
* docs: Document gateway event firings for endpoints.
* refactor: Delete `editBotNickname` due to being a subset of `editMember`.
* docs: Fix inconsistency.
* docs: Document member helpers.
* docs: Document reaction helpers.
* docs: Improve consistency.
* docs: Document message helpers.
* docs: Document role helpers.
* docs: Document guild template helpers.
* docs: Fix incorrect gateway event.
* refactor: Rename `sendWebhookMessage` -> `executeWebhook`.
* docs: Document webhook helpers.
* docs: Document voice helpers.
* fmt: Run Deno formatter.
* docs: Improve consistency.
* refactor: Rename the `/widgets` directory to `/widget`.
* fmt: Run Deno formatter.
* feat: Re-add `editBotNickname.ts`.
* Update helpers/members/editBotNickname.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
* fix: tests
* fix: bot member tests
* fix: remove submode
* fix: edit bot member returns full member
Co-authored-by: Dorian Oszczęda <vxern@wordcollector.co.uk >
2022-09-08 20:12:34 -05:00
LTS20050703
ec91822a73
feat:add modifyGuildMfaLevel ( #2416 )
...
* add modifyGuildMfaLevel
* plugins/permissions: editGuildMfaLevel
* tests/guilds: editGuildMfaLevel
* helpers/guilds: editGuuldMfaLevel return void
* editGuildMfaLevel return void
* Update plugins/permissions/src/guilds/editGuildMfaLevel.ts
* tests/guilds: fix editGuildMfaLevel
CACHED_COMMUNITY_GUILD_ID is not owned by the bot
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2022-09-08 11:13:19 -05:00
Skillz4Killz
6db8327dc0
fix: remove unused import
2022-09-05 17:59:18 +00: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
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
Skillz4Killz
d0b0884b89
fix: broken unit tests
2022-08-28 11:24:05 +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
5afe691a0b
fix: fmt
2022-08-24 05:25:34 +00:00
Skillz4Killz
359db97a39
fix: pass tests
2022-08-24 05:25:00 +00:00
ITOH
03996c5f58
refactor: revert "feat: base plugin lib idea ( #2308 )" ( #2336 )
...
* Revert "feat: base plugin lib idea (#2308 )"
This reverts commit ffe7cdbc6f .
* fmt
2022-07-02 14:24:43 +01:00
Skillz4Killz
f57b2274e0
fix: delete the typing channel
2022-06-18 23:49:25 +00:00
Skillz4Killz
ffe7cdbc6f
feat: base plugin lib idea ( #2308 )
...
* feat: base plugin lib idea
* fix: stuff
* fmt
* fix: imports and exports
* fix: errors & tests
* fix: remove logs
2022-06-18 18:46:37 -04:00
Skillz4Killz
a8da4571cd
Merge branch 'main' of https://github.com/discordeno/discordeno into main
2022-06-15 15:34:02 +00:00
Skillz4Killz
db29251f92
fix(tests): getActiveThreads should not edit first
2022-06-15 15:33:23 +00:00
Skillz4Killz
ccd8506c81
Auto mod blame wolf ( #2267 )
...
* feat(meister): add automod
* fix(test); rest error with code
* fix(rest): log error nicely
* fix(test): disable benchmark test until gateway rewrite
* fix(automod): enum should start with 1
* fix(helper): better undefined handling of metadata
* fix(transfomrers): automod transformers
* fix(tests): add some automod tests
* Update types/shared.ts
Co-authored-by: meister03 <69507874+meister03@users.noreply.github.com >
* fix: changes discord made recently
* fix(fmt): i hate deno fmt but i love itoh
Co-authored-by: meister03 <69507874+meister03@users.noreply.github.com >
Co-authored-by: LTS20050703 <87189679+lts20050703@users.noreply.github.com >
2022-06-15 11:25:53 -04:00
Skillz4Killz
e840b50319
fix: disable benchmarks
2022-06-08 13:30:37 +00:00
Skillz4Killz
a9edf4c29a
fix(test): import not auto updated silly deno
2022-06-04 15:56:48 +00:00
Skillz4Killz
e9e8fa9c25
fix(test): add check of dm message exist
2022-05-31 15:12:44 +00:00
Skillz4Killz
0ab109fc43
fix(tests): rename testss to tests folder
2022-05-31 14:22:12 +00:00
Skillz4Killz
0e6e5d8649
fix(tests): remove old tests folder
2022-05-31 14:21:51 +00:00
Skillz4Killz
35920b56cf
fix(tests): remaining channel unit tests
2022-05-31 13:15:52 +00:00
Skillz4Killz
87cab15100
fix(tests): migrate misc tests
2022-05-31 12:48:08 +00:00
Skillz4Killz
e886ee2718
fix(tests): migrate role unit tests
2022-05-31 03:37:09 +00:00
Skillz4Killz
d51cf52a8c
fix(tests): remove unused old tests files
2022-05-30 22:19:19 +00:00
Skillz4Killz
6c464ce5c0
fix(tests): cleanup some tests old code
2022-05-30 22:18:57 +00:00
Skillz4Killz
7e24a7da27
fix(tests): remove old scheduled events
2022-05-30 14:48:46 +00:00
Skillz4Killz
e34a265ba4
fix(test): migrate message related unit tests
2022-05-29 17:56:41 +00:00
Skillz4Killz
23377aecab
fix(tests): add first message unit test
2022-05-29 15:29:00 +00:00
Skillz4Killz
d6a8f757ae
fix: cleanup bad tests code
2022-05-29 14:53:51 +00:00
Skillz4Killz
28974f2497
fix(utils): remove hasProperty. Unused function
2022-05-28 13:28:11 +00:00
Skillz4Killz
05b86d2ea3
fix(tests): migrate invite related tests
2022-05-28 13:19:34 +00:00
Skillz4Killz
7db661180f
fix(tests): migrate guild url unit tests
2022-05-27 22:55:51 +00:00
Skillz4Killz
08b56e0a19
fix(tests): migrate emoji related unit tests
2022-05-27 18:44:49 +00:00
ITOH
d7883855ec
refactor(.github,README,gateway,plugins/fileloader,tests,types)!: make intent calculation manual
...
This changes the calculation of intents to be manual to the dev.
This is to improve overall consistency of our code base, also it is not a big drawback for users since intents are usually done once and then never (seldom) touched again.
2022-05-24 23:16:01 +02:00
ITOH
199d616f04
style: fmt
2022-05-12 19:03:03 +02:00
Skillz4Killz
d28bd01992
fix: add more utils unit tests
2022-05-11 13:33:54 +00:00
Skillz4Killz
4290c8c9a8
fix: remove old threads test
2022-05-11 13:26:22 +00:00
Skillz4Killz
ba9944c6b0
fix: add stage instance tests
2022-05-10 14:47:52 +00:00