Commit Graph

46 Commits

Author SHA1 Message Date
ITOH
6c80e1c47e fmt stuff 2021-05-03 22:57:11 +02:00
Skillz4Killz
000aaaaa51 add isBot, and tag to message struct 2021-05-03 18:33:55 +00:00
Skillz4Killz
3d39b3878a change: ids to use bigint instead of string (#892)
* p1 of bigints change

* shtuff fixes and bits

* Commit from GitHub Actions (Lint)

* finish bigint structs

* typings fixes

* Commit from GitHub Actions (Lint)

* more fixes

* Commit from GitHub Actions (Lint)

* more fixes

* Commit from GitHub Actions (Lint)

* blame wolf

* Commit from GitHub Actions (Lint)

* foxed

* Commit from GitHub Actions (Lint)

* fix unit tests

* Commit from GitHub Actions (Lint)

* change: guildUpdate guild ID can't change

* delete server has been renamed to delete guild

* fixes

Co-authored-by: Skillz4Killz <Skillz4Killz@users.noreply.github.com>
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-05-03 18:05:18 +01:00
ITOH
5a526c809b to an option object 2021-04-30 18:57:44 +02:00
ITOH
9d26a26ae6 fix: message structure remove reaction wrong comments 2021-04-30 15:23:11 +02:00
ITOH
8c347747dd delete: removeUserReaction 2021-04-30 15:22:48 +02:00
Skillz4Killz
71d0f648e9 Update message.ts 2021-04-28 11:58:25 -04:00
ITOH
ee36ccacc4 Update message.ts 2021-04-28 16:45:08 +02:00
ITOH
be2bbbdd99 autoconvert handler messages 2021-04-24 23:17:11 +02:00
ITOH
49dd851a4a fix message structure 2021-04-15 17:54:54 +02:00
ITOH
851b280c87 message content & mentions & mentionRoles can be undefined 2021-04-13 11:44:43 +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
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
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
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
Skillz4Killz
1b8161e85b refactor: cleanup and fmt 2021-04-04 12:54:33 +00:00
Skillz4Killz
8de3b305fe fix: more broken imports 2021-04-04 12:24:25 +00:00
Skillz4Killz
210f89ec4e fix: channel mentions includes all valid mentions 2021-04-04 03:23:26 +00: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
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
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
Skillz
a1832f3721 needs testing 2020-11-16 22:20:06 -05:00
ayyanm
10f67b090a Replace all occurrences of "import type" syntax to "import" syntax 2020-10-28 12:52:33 -07:00
Skillz
2eab6d6789 mentions as an id to preserve cache 2020-09-22 19:08:09 -04:00
Skillz
0c1f9529e0 import type fixes 2020-09-20 19:45:34 -04:00
Skillz
f3a113a6e3 structures made async to be overrideable 2020-09-17 17:49:18 -04:00
Skillz
894dd04cde custom caching complete 2020-09-16 11:21:09 -04:00
Skillz
f4d23957cb better channel mention typings. Remove undefined 2020-09-01 10:07:32 -04:00
Skillz
090921b9e6 Typescript 4.0 support breaking changes fixes 2020-08-31 15:59:17 -04:00
Skillz
bc2c803475 fmt 2020-08-27 09:42:56 -04:00
Skillz
4fbe8691bc support mentions on dm 2020-08-26 16:49:07 -04:00
Skillz
56081b1687 add guide 2020-08-07 23:19:21 -04:00
Skillz
a7f9bf6b94 v7 stuff lots of stuff 2020-08-05 14:31:08 -04:00