Commit Graph

83 Commits

Author SHA1 Message Date
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
ayntee
28dfef018f style: format src files 2020-11-20 15:33:53 +04:00
Skillz
4cd76db969 fixes 2020-11-19 23:10:14 -05:00
ayntee
fffa2a078f style: format source files 2020-11-19 15:12:15 +04:00
Skillz
bd101f8225 slight fix hack 2020-11-18 21:54:36 -05:00
Skillz
fee041c355 test fix for initial members 2020-11-18 21:15:39 -05:00
Skillz
a13e50d383 fixes 2020-11-18 19:16:52 -05:00
Skillz
282ae9a9a0 fix 2020-11-18 17:25:11 -05:00
Skillz
7e2206033c fix 2020-11-18 17:14:33 -05:00
Skillz
5805fc8eca fix 2020-11-18 16:42:38 -05:00
Skillz
7c3c6409d9 remove members from guild struct 2020-11-18 16:08:00 -05:00
Skillz
6ecdb9fc9b move guild.members to cache.members 2020-11-18 11:58:26 -05:00
Skillz
7c8b85cde9 remove guild.channels 2020-11-18 00:11:22 -05:00
Skillz
3c97b29cbe Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno into next 2020-11-17 23:46:13 -05:00