Commit Graph

96 Commits

Author SHA1 Message Date
ITOH
851b280c87 message content & mentions & mentionRoles can be undefined 2021-04-13 11:44:43 +02:00
ITOH
624c4b57cb fix(structures/channel): wrong type for permissionOverwrites 2021-04-13 09:59:20 +02:00
ayntee
b633689d3a Format files 2021-04-13 06:05:20 +00:00
Skillz4Killz
9a7747b7ab fix: more typings errors 2021-04-12 20:02:56 +00:00
ITOH
f66b9670dc fix mention thing 2021-04-12 21:21:13 +02:00
ayntee
1cbc1b8f82 fmt files damn son 2021-04-12 23:13:37 +04:00
ITOH
b51611e0ed fix(structures/gu8ild): add shardId to interface 2021-04-12 21:09:48 +02:00
Skillz4Killz
0fb383a9db fix: template typings 2021-04-12 18:28:17 +00:00
Skillz4Killz
8523a5ceea fix: more typing errors 2021-04-12 18:09:15 +00:00
ITOH
b9bd29ebf8 fix 2021-04-12 09:30:45 +02:00
Skillz4Killz
51e27d8f17 types: fix new types issues (#829)
* feat: add tests for deleting channel overwrites

* fix: typings
2021-04-12 07:26:55 +01:00
Skillz4Killz
b7a2b0ed55 tests: add deleting channel overwrites test (#828) 2021-04-12 07:04:30 +01:00
TriForMine
337dc9fe44 tests: add reply and embed message test 2021-04-11 13:51:30 +02:00
ITOH
7a6b4bf2d7 ref 2021-04-09 23:07:20 +02:00
ITOH
dc9c33f0d4 f 2021-04-09 22:22:06 +02:00
ITOH
9312606100 lop 2021-04-09 21:37:13 +02:00
Skillz4Killz
9c53a67dd3 fix: rest method uppercase 2021-04-09 14:41:31 +00:00
Skillz4Killz
03631e3c6e refactor: base complete for unit tests 2021-04-09 12:46:38 +00:00
Skillz4Killz
3eaf1a5dcc fix: broken import errors (#779)
* fix: broken import errors

* fix: snake case name
2021-04-08 22:22:11 +04:00
ITOH
89a6e043fe f 2021-04-06 22:08:19 +02:00
ITOH
484e995140 fix(structures/channel): add ChannelStruct (#738)
* fix it

* Update channel.ts
2021-04-06 12:23:18 +04:00
ITOH
55a1c04774 fix(structures/member): use new types & add MemberStruct interface (#739)
* Update member.ts

* Update member.ts

* Update member.ts

* better type

* cast

* this better

* add comment
2021-04-06 12:22:19 +04:00
ITOH
3ca46f747b fix(structures/role): use new types & add MemberStruct interface (#758)
* Update role.ts

* remove mod thing
2021-04-06 12:21:27 +04:00
ITOH
2e397325f5 fix: ID > Id (#754)
* Update bot.ts

* id id
2021-04-04 21:51:01 +04:00
Skillz4Killz
1b8161e85b refactor: cleanup and fmt 2021-04-04 12:54:33 +00:00
Skillz4Killz
12b29fe03d Merge pull request #750 from discordeno/guild-functions-remove-cache-requirement
Guild functions remove cache requirement
2021-04-04 08:25:20 -04:00
Skillz4Killz
8de3b305fe fix: more broken imports 2021-04-04 12:24:25 +00:00
Skillz4Killz
658db44476 fix: getters for cached versions of server images 2021-04-04 12:21:43 +00:00
Skillz4Killz
b2dd0dd87b Merge branch 'main' into structures-guild 2021-04-03 23:50:20 -04:00
Skillz4Killz
d48b0a0ded Merge branch 'main' into fix-member-caching-on-guild-create 2021-04-03 23:39:17 -04:00
Skillz4Killz
7ea1f7adce Merge branch 'main' into message-channel-mentions 2021-04-03 23:39:01 -04:00
Skillz4Killz
c14ef3d4e7 fix: cache members when poossible on guild create 2021-04-04 03:29:49 +00:00
Skillz4Killz
210f89ec4e fix: channel mentions includes all valid mentions 2021-04-04 03:23:26 +00:00
Skillz4Killz
29ea05d7ff refactor: remove raw avatar ulr 2021-04-04 00:03:45 +00:00
ITOH
d2ae1638ac typo 2021-04-03 21:41:53 +02:00
ITOH
54b62193bb mooooo 2021-04-03 21:32:27 +02:00
ayntee
6aa9b25698 refactor(structures/channel): auto-convert the paylaod fields to camel case (#730) 2021-04-02 23:21:13 +04:00
ayntee
eaff54f90f refactor: rename *ID to *Id (#710)
* refactor: rename *ID to *Id

* Update src/helpers/commands/delete_slash_command.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/commands/delete_slash_command.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/commands/delete_slash_response.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/commands/edit_slash_response.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/utils.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/utils.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/utils.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/utils.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/utils.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/commands/get_slash_command.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/commands/send_interaction_response.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/commands/upsert_slash_command.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/guilds/edit_widget.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/guilds/get_widget.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/guilds/get_widget.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/guilds/get_widget_image_url.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/guilds/get_widget_image_url.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/guilds/get_widget_settings.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update .gitignore

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update LICENSE

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/members/edit_bot_profile.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/members/edit_bot_profile.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/webhooks/create_webhook.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/webhooks/delete_webhook.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/constants.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/webhooks/edit_webhook.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/webhooks/execute_webhook.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/webhooks/get_webhook.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/rest/cache.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/rest/request.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/constants.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/commands/delete_slash_response.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/constants.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/constants.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/constants.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/constants.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/utils.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/utils.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Revert docs file

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-03-29 21:03:46 +04:00
ayntee
16864a2666 chore: export types 2021-03-29 12:31:53 +04:00
ITOH
c91c9d0870 types: remove entire types (#684) 2021-03-23 19:14:26 +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
3e0de857c6 fix: use disconnectMember 2021-03-15 15:43:50 +04:00
ayntee
2d0b96c1e2 refactor(helpers): rename & replace deleteMessageByID() with deleteMessage() (#668)
* refactor(helpers): rename & replace deleteMessageByID() with deleteMessage()

* changes

* fix

* fix

* Update src/types/errors.ts
2021-03-13 11:47:53 -05:00
ayntee
e9cbbbff7c refactor(helpers): separate functions into files (#667)
* refactor(helpers): separate functions into files

* idk

* idk
2021-03-13 08:10:31 -05:00
ayntee
8654aeded5 refactor: rename controllers to handlers and handlers to helpers (#660)
* refactor: rename controllers to handlers and handlers to helpers

* fmt
2021-03-11 21:41:03 +04:00
Ayyan
e49a23687e refactor!: organize directories and files (#268)
* refactor!: organize directory structure

* fix: avoid stack overflow err

* chore: swtch back to std/encoding for base64

* style: format source files
2020-12-22 21:26:27 +04:00
ITOH
7bdbcb76d6 refactor: centralize types (#235)
* Centralize types and structures

* Resolve Conflict

* Update cache.ts
2020-12-08 22:23:36 +04:00
ayntee
fdcd9ca668 Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno into next 2020-11-27 10:14:07 -08:00
Skillz4Killz
167e24ee81 Merge pull request #167 from Skillz4Killz/role.tags
Add Role.tags property
2020-11-26 10:29:46 -05:00