Commit Graph

1644 Commits

Author SHA1 Message Date
ayntee 3681d5e6cb chore: separate PermissionStrings 2021-03-29 13:28:32 +04:00
ayntee 2207a1c1ce chore: export bitwise_permission_flags.ts 2021-03-29 13:24:46 +04:00
ayntee c3a44eb04c types: add DiscordBitwisePermissionFlags 2021-03-29 13:23:26 +04:00
ayntee 7d2ff45b61 types(embeds/embed): change color type to number (#708) 2021-03-29 12:51:07 +04:00
ayntee 795e7d3819 Merge branch 'main' of https://github.com/discordeno/discordeno 2021-03-29 12:32:01 +04:00
ayntee 16864a2666 chore: export types 2021-03-29 12:31:53 +04:00
ITOH 66e58d5c2b types: add template types (#706)
* types: add CreateGuildFromTemplate type

* types: add ModifyGuildTemplate type

* types: add Template type

* types: add VoiceRegion type

* types: add VoiceState type

* Revert "types: add VoiceRegion type"

This reverts commit d1c13d4658.

* Revert "types: add VoiceState type"

This reverts commit 322970dda8.

* Update src/types/templates/modify_guild_template.ts

* Update src/types/templates/template.ts

* Update src/types/templates/template.ts

Co-authored-by: ayntee <ayyantee@gmail.com>
2021-03-29 12:20:27 +04:00
ayntee 163d090a88 chore(types): fix imports 2021-03-29 12:18:29 +04:00
ITOH ee0fab8635 types: add emoji types (#705)
* feat(types/emojis): CreateGuildEmoji

* feat(types/emojis): Emoji

* feat(types/emojis): ModifyGuildEmoji

* Update src/types/emojis/create_guild_emoji.ts

Co-authored-by: ayntee <ayyantee@gmail.com>
2021-03-29 12:05:35 +04:00
ITOH 9f479bd1a5 fix(types/invites): GetInvite counts typo (#704)
Co-authored-by: ayntee <ayyantee@gmail.com>
2021-03-29 12:01:20 +04:00
ITOH a1e484f5e3 types: add voice types (#707)
* types: add VoiceRegion type

* types: add VoiceState type

* Update src/types/voices/voice_region.ts

* Update src/types/voices/voice_region.ts

Co-authored-by: ayntee <ayyantee@gmail.com>
2021-03-29 11:56:52 +04:00
ayntee 855c7f46fc types: add invite types (#703) 2021-03-28 22:17:00 +04:00
ITOH 8f6314db21 types: add webhooks types (#701)
* feat(types/webhooks): CreateWebhook

* feat(types/webhooks): EditWebhookMessage

* feat(types/webhooks): ExecuteWebhook

* feat(types/webhooks): ModifyWebhook

* feat(types/webhooks): Webhook

* feat(types/webhooks): WebhookTypes

* redundant

* Update src/types/webhooks/create_webhook.ts

Co-authored-by: ayntee <ayyantee@gmail.com>

* Update src/types/webhooks/modify_webhook.ts

Co-authored-by: ayntee <ayyantee@gmail.com>

* Update src/types/webhooks/webhook_types.ts

Co-authored-by: ayntee <ayyantee@gmail.com>

* idk

* typoooo

* Update src/types/webhooks/execute_webhook.ts

Co-authored-by: ayntee <ayyantee@gmail.com>

Co-authored-by: ayntee <ayyantee@gmail.com>
2021-03-28 21:51:50 +04:00
ayntee 3f40aeb75f types: add user types (#700)
* types: add user types

* Add CreateGroupDM
2021-03-28 20:26:07 +04:00
ITOH 89e4b1eacd fix(util/utils): fix logic error in validateSlashOptions() (#699) 2021-03-28 20:22:42 +04:00
ayntee 4eb59f8511 types(channels): add ModifyChannel and CreateMessage (#697) 2021-03-28 16:02:31 +04:00
ayntee b86638759a types(audit_log): fix audit log types 2021-03-28 15:54:32 +04:00
ITOH b4ce7f55b1 types(audit_log): fix AuditLog typos (#696) 2021-03-28 15:33:58 +04:00
ITOH d5fb3f7d52 docs(README): master -> main (#694) 2021-03-28 15:21:33 +04:00
ayntee 402a279c59 types: segregate into separate files (#693)
* types: separate channel types into different files

* types: segregate into separate files
2021-03-28 14:48:46 +04:00
ayntee 3017ee604f types: separate channel types into different files (#692) 2021-03-28 14:30:02 +04:00
ayntee e21e93ea78 types: add channel types (#691) 2021-03-28 14:10:33 +04:00
ITOH 9b49f958ee types: add audit log types (#690)
* feat(types/audit_log): AuditLogChange

* feat(types/audit_log): AuditLogChangeValue

* feat(types/audit_log): AuditLogEntry

* feat(types/audit_log): AuditLogEvent

* feat(types/audit_log): AuditLogPayload

* feat(types/audit_log): GetGuildAuditLog

* feat(types/audit_log): OptionalAuditEntryInfo
2021-03-28 14:08:04 +04:00
ITOH c2be5da373 types(util): recursive CamelCaseProps and SnakeCaseProps (#689)
* Update util.ts

* better names

* add the old one back
2021-03-28 13:46:06 +04:00
ayntee fa2a0307fa types: remove EventHandlers and RateLimitData 2021-03-27 17:04:25 +04:00
ayntee d2cb96ac86 types: add RateLimitData interface 2021-03-27 16:59:19 +04:00
ayntee 2806dc3d04 Merge branch 'main' of https://github.com/discordeno/discordeno 2021-03-27 13:02:05 +04:00
ayntee 72b07574f2 types: add gateway types 2021-03-27 12:37:11 +04:00
ayntee dc497b74af docs(README): remove table of contents 2021-03-27 12:05:41 +04:00
ayntee b1512e0334 types: add gateway events types 2021-03-27 12:03:55 +04:00
ayntee 68c0aa4877 types(gateway): make since nullable 2021-03-27 11:24:47 +04:00
ayntee 7a04f99fd3 types(gateway): make large_threshold optional 2021-03-27 11:19:52 +04:00
ayntee 431d180957 types: add gateway types (#687) 2021-03-26 20:09:24 +04:00
ayntee b74f9af48f docs: boilerplate -> template 2021-03-25 14:47:39 +04:00
ayntee acf0bd5753 style(docs/CONTRIBUTING): format file 2021-03-24 21:49:23 +04:00
ayntee ebb1d5deb7 Merge branch 'main' of https://github.com/discordeno/discordeno 2021-03-24 21:07:37 +04:00
ayntee 447d96df26 docs(CONTRIBUTING): update types guide 2021-03-24 21:05:39 +04:00
ITOH c91c9d0870 types: remove entire types (#684) 2021-03-23 19:14:26 +04:00
ayntee 10cb9d7eb9 types(util): add case utility types (#683)
* types(util): add case utility types

* Rename *ID to *Id
2021-03-23 19:04:46 +04:00
ayntee 6ff4654686 refactor(util): remove chooseRandom() (#682) 2021-03-23 16:47:46 +04:00
ayntee 5aef37c776 test: segregate internal imports and deps 2021-03-23 16:39:54 +04:00
ITOH 5821092e78 fix(handleres/guilds): unavailable guilds & guildDelete emit delay (#674)
Co-authored-by: ayntee <ayyantee@gmail.com>
2021-03-23 14:45:57 +04:00
ayntee c1a016ca9f fix(util/collection): .first(), .last(), .random() may return undefined (#680)
* fix(util/collection): .first() may return undefined

* fix(util/collection): .random(), .last() may return undefined
2021-03-23 14:31:29 +04:00
ayntee 519798d9cd docs(CONTRIBUTING): format file 2021-03-22 10:20:52 +04:00
ayntee 1ce2e56b68 docs(types): move guidelines to CONTRIBUTING.md 2021-03-22 10:18:53 +04:00
ayntee e4fc09069f style: format files 2021-03-20 10:08:30 +04:00
ayntee 5125ffd308 refactor: replace util/cache with cache 2021-03-20 10:06:57 +04:00
ayntee e1a9565045 test: use createChannel() 2021-03-19 15:54:34 +04:00
ayntee 9699f741fe refactor(helpers): rename createGuildChannel to createChannel (#678)
* refactor(helpers): rename createGuildChannel to createChannel

* idk
2021-03-19 13:03:24 +04:00
ayntee 489aa6d166 refactor(handlers): move presence/* to misc/* (#677) 2021-03-17 16:32:45 +04:00