samhza
7bc2be1498
api: Add search endpoint ( #236 )
...
Co-authored-by: Terra Brown <superloach42@gmail.com>
2021-06-25 12:29:14 -07:00
Maximilian von Lindern
8e4e48e25e
state: Fix out of bound panic in Messages ( #235 )
2021-06-24 22:46:27 -07:00
diamondburned
6c349d9750
shard: Unwrap Shard in ForEach
2021-06-24 21:20:58 -07:00
diamondburned
d66f667f28
bot: Fix Start incorrect error checking
2021-06-24 21:10:56 -07:00
samhza
354199383a
api: Remove Client.SendText ( #234 )
...
SendMessage(a, b) is equivalent to SendText(a, b) so SendText is
redundant.
Programs using SendText can be updated with
$ gofmt -r 'c.SendText(a, b) -> c.SendMessage(a, b)' -w .
2021-06-22 17:48:16 -07:00
diamondburned
17dbccccc3
bot: Clarify unexported *Context field
2021-06-22 16:10:30 -07:00
trybefore
917459611d
bot: Wait catch SIGTERM ( #233 )
...
Signed-off-by: Daniel Boman <daniel.boman@pm.me>
2021-06-22 13:42:45 -07:00
samhza
1b12057e51
discord: Make OverboundError.Error() have a pointer receiver ( #232 )
2021-06-18 00:15:02 -07:00
samhza
37b8871c65
api: Update sending/editing messages for v9 ( #230 )
...
api.{Send,Edit}MessageData and their equivalents in package api/webhook
have been updated to add some fields added in Discord API v9.
(webhook.Client).EditMessage now also returns a message, because that
endpoint returns a message on success.
2021-06-17 23:32:11 -07:00
Germano Eichenberg
94090b92ff
discord, gateway: Add IsPending to Member & SupplementalMember ( #231 )
2021-06-17 13:40:57 -07:00
diamondburned
da7c6c6dba
gateway: Allow custom SessionID
2021-06-14 15:23:08 -07:00
Hamza Ali
134f49d00f
discord: Add Flags field to InteractionResponseData
2021-06-14 15:23:08 -07:00
diamondburned
68313eb872
discord: Fix Channel not unmarshaling
2021-06-14 15:23:08 -07:00
diamondburned
5b328bdab0
shard: Remake shard manager ( #226 )
2021-06-14 15:22:55 -07:00
Samuel Hernandez
af3bedc472
api: allow interaction responses to include files
...
function RespondInteraction doesn't return a message.
systemPkgs
2021-06-10 16:58:10 -07:00
diamondburned
b8f452828d
ci: Test building examples
2021-06-10 16:58:07 -07:00
diamondburned
ba49bff80a
state: Fix voice state removal condition
...
This commit addresses issue #220 .
2021-06-10 16:52:31 -07:00
Maximilian von Lindern
c8e7eff04e
discord: rename ActivityTimestamp to ActivityTimestamps
2021-06-06 13:12:24 -07:00
Maximilian von Lindern
2875635532
bot: remove deprecated Subcommand.SanitizeMessage
2021-06-06 13:12:02 -07:00
Maximilian von Lindern
f1f4f06979
*: Rename error types to have Error suffix ( #215 )
2021-06-06 12:40:24 -07:00
Maximilian von Lindern
a808b52f00
state: Add paginating State.Messages ( #213 )
...
* Store,State: Add update param to all store.XXXStore.XXXSet methods
* State: add paginating Messages
* Store: Fix test error
* store: merge shouldPrependMessage and shouldAppendMessage into single messageInsertPosition
2021-06-03 21:39:49 +02:00
Samuel Hernandez
40e1a3757d
*: Migrated Go Modules to v3
2021-06-01 19:59:01 -07:00
Maximilian von Lindern
df5954d2e1
all: Revert incorrect "GuildID" changes ( #211 )
2021-05-30 14:16:16 -07:00
Maximilian von Lindern
c45096c9fa
discord: Fix faulty marshal of Channel.RTCRegionID ( #210 )
2021-05-30 14:14:41 -07:00
Maximilian von Lindern
428ef4ac70
rate: Add rate.AcquireOptions
2021-05-29 22:25:52 -07:00
Maximilian von Lindern
8a7c6c48a7
session,bot: Remove references to CloseGracefully and use Close instead
2021-05-29 22:18:05 -07:00
Maximilian von Lindern
6c2fb008eb
gateway: Rename RequestGuildMembersData.GuildID to GuildIDs for consistency
2021-05-29 22:17:55 -07:00
Maximilian von Lindern
a3a3f5a1b8
wsutil: Make wsutil.GracefulCloser part of wsutil.Connection
2021-05-29 22:17:49 -07:00
Maximilian von Lindern
d2b70ebfa7
all: Remove deprecated symbols
2021-05-29 22:17:44 -07:00
Maximilian von Lindern
5a1837a094
discord/api: Add StageInstances
2021-05-29 22:17:39 -07:00
diamondburned
4595c87e36
discord: Fix {un,}marshal loop
2021-05-29 22:07:39 -07:00
Maximilian von Lindern
6f73088e7d
api/discord: Add RTCRegionID and VoiceQuality
2021-05-29 22:07:39 -07:00
diamondburned
b936d00ead
discord: Minor comment fixes for components
2021-05-29 21:32:38 -07:00
diamondburned
694d6a2bba
gateway: Clarify field presence for InteractionCreateEvent
2021-05-29 21:32:35 -07:00
Scott
10c8837000
api: Finalized buttons implementation ( #200 )
...
* all: Added Components fields to message-related types
* discord: Documented Reactions field
* discord: Implement fix for Component
* gateway: Added User and Message fields to InteractionCreateEvent
* api: Made InteractionResponseData fields optional for UpdateMessage responses
* api: Deprecated and updated interaction response types
* gateway: Update optional interaction event fields
* discord: Added ComponentWrap for json unmarshalling
* state: Update components on MessageUpdate
* Updated buttons example
2021-05-29 21:32:33 -07:00
Maximilian von Lindern
e04b19eb0f
api: Increase arikawa version in UserAgent to v3
2021-05-29 21:32:31 -07:00
Maximilian von Lindern
0119944b28
api/gateway: Increase API and gateways versions to 9
2021-05-29 21:32:20 -07:00
unknown
a1ab986ded
discord: Emoji methods use IsUnicode()
2021-05-29 14:16:44 -07:00
unknown
58fea822e1
discord: Fixed docs links
2021-05-29 14:16:44 -07:00
unknown
3b212908a5
utils: Change Enum to int32
2021-05-29 14:16:44 -07:00
unknown
d69abe49de
discord: Add AllVoice perms
2021-05-29 14:16:44 -07:00
unknown
a7d87a7dd0
api: Use MessageFlags const
2021-05-29 14:16:44 -07:00
unknown
f5b3e3972b
discord: Use consts for Discord constants
2021-05-29 14:16:44 -07:00
Chan Wen Xu
c880cb2fc8
interaction: Implement buttons
2021-05-29 14:16:44 -07:00
Maximilian von Lindern
7785887719
API: Update the Client.CreateChannel docs to mention the recent permission change
2021-05-29 12:40:10 -07:00
Maximilian von Lindern
56aaed3d60
State: Fix data race between ready and guild create handler
2021-05-29 12:38:22 -07:00
unknown
f8195f6e87
discord: Add Emoji.IsCustom() & IsUnicode() methods
2021-05-20 22:53:46 -07:00
unknown
25152c85d9
discord: Fixed typo
2021-05-20 22:53:46 -07:00
unknown
cfd620ee39
discord: Add User.Tag() method
2021-05-20 22:53:46 -07:00
unknown
5026795551
discord: Add CreatedAt() methods
2021-05-20 22:53:46 -07:00