Commit Graph

66 Commits

Author SHA1 Message Date
ITOH
8f70ce52ca fix: message#tag discriminator formatting 2021-06-11 19:23:02 +02:00
ITOH
98788e32e3 add: mentionUser to reply 2021-06-07 17:00:34 +02:00
ITOH
a6d0045658 change: use Object.keys 2021-05-29 22:31:49 +02:00
ITOH
ca3d6ba9d4 fix: structure 2021-05-28 23:07:15 +02:00
Skillz4Killz
554d7a39a6 so silly 2021-05-23 21:04:46 +00:00
Skillz4Killz
dcd88c8811 change: prettier code 2021-05-23 13:32:06 +00:00
Skillz4Killz
d01602f12d add member, message and fix guild toJSON 2021-05-23 13:31:35 +00:00
itohatweb
179add27c9 Prettified Code! 2021-05-21 15:55:49 +00:00
itohatweb
3549cdeb63 Prettified Code! 2021-05-21 15:51:33 +00:00
ITOH
06a3aeda4b fix: member.joinedAt can be undefined 2021-05-15 12:42:30 +02:00
rigormorrtiss
489ec3d9d7 add(structures): applicationId to Message (#923) 2021-05-12 08:27:48 +01:00
ITOH
535e0a1b34 add: async to async methods 2021-05-08 14:30:33 +02:00
ITOH
2f904a3b6f fix: discord message member overwriting message.member getter 2021-05-08 14:30:16 +02:00
ITOH
11e9a800e5 message.guildid has to be bigint 2021-05-06 12:38:05 +02:00
ITOH
95e3c796ec remove author for better auto completion 2021-05-05 21:51:02 +02:00
ITOH
7ff0d242ff hopefully the last dir change 2021-05-05 20:06:32 +02:00
ITOH
63c994e500 silly me 2021-05-04 17:40:59 +02:00
ITOH
ea3f1ac271 Merge branch 'main' into stupid-deno-type-errors 2021-05-04 14:53:44 +02:00
ITOH
315f162e78 structures too 2021-05-04 12:41:07 +02:00
ITOH
e63e6319a8 add: message bitfield 2021-05-04 12:05:17 +02:00
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