Daniel Bulant
ec560b8107
Merge pull request #1 from monbrey/inline-replies
...
Inline replies
2020-11-29 19:32:58 +01:00
monbrey
e43ad1eea9
chore: get this back to the right state
2020-11-24 08:29:40 +11:00
Jan
8d650a7250
feat: BaseGuildEmojiManager ( #4934 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
2020-11-22 19:48:30 +01:00
Jan
12a096b5f1
fix(RoleManager): fix ID return value, change return type to collection ( #4935 )
...
Co-authored-by: Ishmaam Khan <ishmaamk@gmail.com>
2020-11-22 19:39:19 +01:00
Advaith
6f3076325e
remove User#locale ( #4932 )
2020-11-22 19:39:06 +01:00
anandre
8c8883ef26
Remove Guild#member ( #4890 )
2020-11-22 19:21:01 +01:00
Junseo Park
4b555fdf4c
feat(Message): added string type for message nonce ( #4782 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
2020-11-22 19:13:38 +01:00
Matt (IPv4) Cowley
2a6c363a8a
feat(Shard): shard-specific broadcastEval/fetchClientValues + shard Id util ( #4991 )
2020-11-22 13:35:18 +01:00
izexi
2b2994badc
feat: add support for guild templates ( #4907 )
...
Co-authored-by: Noel <buechler.noel@outlook.com>
2020-11-21 15:09:56 +01:00
Sugden
7faa73a561
feat: add missing error codes ( #5008 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
2020-11-20 16:18:13 +01:00
monbrey
eadeeed72e
fix(MessageMentionOptions): repliedUser should be optional
2020-11-19 18:56:09 +11:00
Ashley Meadows
042e071a64
fix(MessageReaction): add client property to typings ( #5003 )
...
close #5002
Co-authored-by: Ashley Meadows <itsa-sh@users.noreply.github.com>
2020-11-17 22:05:03 +01:00
monbrey
065e89337e
fix: naming conventions
2020-11-17 13:33:59 +11:00
monbrey
1028183c23
Merge remote-tracking branch 'upstream/master' into inline-replies
2020-11-17 10:40:31 +11:00
monbrey
b61a367392
feat(AllowedMentions): add typings for replied_user
2020-11-17 10:39:37 +11:00
monbrey
2eafeeca55
fix: restore reply typings
2020-11-17 08:24:16 +11:00
HarmoGlace
b8fd3f65d9
feat(Message): add crosspostable property ( #4903 )
...
Co-authored-by: Advaith <advaithj1@gmail.com>
Co-authored-by: Alex Hîncu <teesealz@gmail.com>
2020-11-01 12:32:20 +01:00
Sugden
af670fc718
refactor: improve the accuracy of docs/improve docs ( #4845 )
...
Co-authored-by: Noel <icrawltogo@gmail.com>
2020-10-17 15:53:02 +02:00
Noel
89feedad98
revert: "fix(GuildEmojiManager): check for guild in methods that use it" ( #4912 )
...
This reverts commit 728b3f939c .
2020-10-17 15:46:10 +02:00
Jan
728b3f939c
fix(GuildEmojiManager): check for guild in methods that use it ( #4886 )
2020-10-17 15:40:39 +02:00
Matt (IPv4) Cowley
c412cd7521
feat(Message): add messageEditHistoryMaxSize to limit stored msg edits ( #4867 )
2020-10-17 15:34:49 +02:00
cherryblossom000
4a6fb9a7d4
types(TextBasedChannel): make lastPinAt nullable ( #4842 )
...
This commit makes `TextBasedChannelFields#lastPinAt` nullable in the
typings.
2020-10-17 15:33:57 +02:00
cherryblossom000
824e92229d
types(Activity): move flags from Presence to Activity ( #4843 )
...
This commit moves the `flags` property from `Presence` to `Activity` in
the typings.
2020-10-17 15:33:37 +02:00
Jiralite
0b59141054
types(GuildPreview): Make description nullable ( #4854 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com>
2020-10-17 15:33:08 +02:00
yuta0801
b9ad51049e
fix(GuildChannel): make setTopic argument nullable ( #4875 )
2020-10-17 15:32:32 +02:00
monbrey
2e96b9a606
fix(ApiMessage): finish renaming replyTo
2020-10-07 21:39:01 +11:00
monbrey
ef1856bb1f
Merge remote-tracking branch 'souji/maj/remove-msg-reply' into inline-replies
2020-10-07 21:09:05 +11:00
monbrey
67c2e56647
refactor(InlineReplies): rename property, rework Message resolution
2020-10-07 14:18:17 +11:00
monbrey
9f3108052c
feat(InlineReplies): provide support for inline-replying to messages
2020-10-02 16:10:36 +10:00
monbrey
a5ce6cfa9a
feat(InlineReplies): add typings for sending inline replies
2020-10-02 16:10:36 +10:00
monbrey
ab5ee838a3
feat(InlineReplies): add Message#replyReference property
2020-10-02 16:10:27 +10:00
monbrey
0ed281888d
feat(InlineReplies): add INLINE_REPLY constant/typing
2020-10-02 14:57:40 +10:00
almostSouji
bc4dc22c1f
feat(Message): remove reply functionality
2020-10-01 14:10:36 +02:00
Jan
f83b3d7fc1
feat(NewsChannel): add support for following ( #4805 )
...
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
2020-09-25 23:45:47 +02:00
cherryblossom000
f2bbad36d5
feat(GuildManager): add AFK and system channel options in create ( #4837 )
...
This commit adds support for the `afk_channel_id`, `afk_timeout`, and
`system_channel_id` parameters in the
[create guild](https://discord.com/developers/docs/resources/guild#create-guild-json-params )
endpoint by adding the `afkChannelID`, `afkTimeout`, and
`systemChannelID` options in `GuildManager#create`.
This commit also fixes a minor bug in `create` when specifying types for
the channels due to the channel types not being changed from `'text'`,
`'voice'` etc to the corresponding numbers, so Discord would return an
error.
2020-09-25 23:44:32 +02:00
Advaith
9c76129a23
feat(ActivityTypes): add Competing (type 5) ( #4824 )
2020-09-15 18:33:52 +02:00
Johnson Chen
bcb7c721dc
feat(Message): add support for crossposting ( #4105 )
...
Co-authored-by: Advaith <advaithj1@gmail.com>
Co-authored-by: Joe <56809242+Jo3-L@users.noreply.github.com>
Co-authored-by: Jan <66554238+Vaporox@users.noreply.github.com>
Co-authored-by: Noel <icrawltogo@gmail.com>
2020-09-13 12:07:56 +02:00
Sugden
422a4dda68
typings(Guild): document RELAY_ENABLED feature ( #4788 )
2020-09-08 09:58:56 +02:00
cherryblossom000
904aecfdb7
types: don't use readonly arrays in interfaces ( #4794 )
...
This reverts some of the changes in f451be05 so that this works:
```ts
const embed: MessageEmbedOptions = {
fields: [{
// fixed stuff
}],
};
if (/* condition */) {
embed.fields.push({
// conditional stuff
});
}
```
See https://github.com/discordjs/discord.js/pull/4692#issuecomment-687252066 .
2020-09-05 20:14:39 +02:00
MrWasdennnoch
a28754b892
fix(Typings): remove Partial types from some events ( #4781 )
2020-09-05 20:13:59 +02:00
MrWasdennnoch
aa25608c52
typings(PartialUser): fix PartialUser remove deleted property ( #4773 )
2020-09-03 09:53:44 +02:00
Jan
b0ab37ddc0
feat(Channel): add isText() type guard ( #4745 )
2020-08-31 09:59:17 +02:00
Sugden
3141f7cb04
feat(Guild): add includeApplications option for fetchIntegrations ( #4762 )
2020-08-31 09:17:53 +02:00
Sugden
f97316319f
feat(UserFlags): add renamed UserFlags ( #4761 )
2020-08-30 00:34:37 +02:00
Tristan Guichaoua
405b487dc3
fix(Typing): change NodeJS.Timer into NodeJS.Timeout ( #4755 )
2020-08-29 18:54:39 +02:00
cherryblossom000
74763ef3fb
types: don't allow any object in the first parameter if second parameter is not given in TextBasedChannel#send ( #4736 )
2020-08-29 12:08:04 +02:00
Louis
a363b90fa5
docs(BaseGuildEmoji): account for optional properties ( #4723 )
2020-08-28 14:19:53 +02:00
Tristan Guichaoua
2dc70af717
types: add all types for GuildAuditLogsEntry#target ( #4738 )
...
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
2020-08-28 14:18:45 +02:00
Sugden
727b29c85d
feat(Client): allow options for generateInvite ( #4741 )
2020-08-28 14:17:37 +02:00
Sugden
e0e271162c
fix(typings): bot cannot be null ( #4719 )
2020-08-27 16:40:36 +02:00