Noah Santschi-Cooney
69edfdf4ac
discordapp.com -> discord.com ( #772 )
...
Change API URL from discordapp.com to discord.com
2020-05-08 21:26:13 -04:00
Carson Hoffman
45124d8303
Revert "Changed domain from discordapp.com
to discord.com
( #769 )"
...
This reverts commit f4ca8874a3
.
2020-05-07 12:27:07 -04:00
Hunter Paulson
f4ca8874a3
Changed domain from discordapp.com
to discord.com
( #769 )
...
* Allow resume on reconnect
* Version 0.20.3: allow resume on reconnect
* Update index.md
* Update README.md
* Update GettingStarted.md
* Update endpoints.go
* Update README.md
* Update event.go
* Update wsapi.go
* Update restapi.go
* Resolved spelling issue
Co-authored-by: Carson Hoffman <c@rsonhoffman.com>
2020-05-04 21:13:28 -07:00
Carson Hoffman
525ac13aa7
Merge pull request #626 from AtomGrafiks/master
...
Add pagination to MessageReactions
2019-12-26 20:42:56 -05:00
Carson Hoffman
afe392e6c1
Merge pull request #694 from BigHeadGeorge/fix-tts-casing
...
Fix inconsistent TTS casing
2019-12-26 20:22:41 -05:00
Carson Hoffman
e4e03cf8b5
Merge pull request #683 from recapitalverb/develop
...
Remove State fallback from Session#Guild
2019-12-26 19:46:40 -05:00
Eric Wohltman
307c335eb6
Fix for Discord's API returning a 400 Bad Request if Content-Type is set, but the request body is empty.
2019-12-19 12:46:45 -05:00
Gregory DALMAR
10edf15944
Update fork and resolve conflicts
2019-11-20 18:50:51 +01:00
Bruce Marriner
8416350234
Merge branch 'master' of https://github.com/bwmarrin/discordgo
2019-10-18 10:46:55 -05:00
Bruce Marriner
8baec95e44
Merge branch 'develop'
2019-10-18 10:44:50 -05:00
tuckerrrrrrrrrrrr
bc6197c5e6
fix inconsistent tts casing
2019-09-10 18:09:24 -07:00
recapitalverb
7d04e7dfb3
Remove State fallback from Session#Guild
2019-08-09 20:59:46 +07:00
Julian Y
792b209680
Modify GuildEdit bounds check
2019-08-04 01:28:49 -07:00
tsudoko
191dea097d
Escape # in emoji IDs passed to reaction endpoints ( #615 )
2019-07-21 21:11:43 -07:00
Qais Patankar
d3c96d18be
Fix #622 : support for WebhookExecute msg response ( #663 )
2019-07-21 21:07:28 -07:00
diamond's alt
7896167153
added useragent ( #653 )
2019-05-28 16:52:23 -07:00
Jesse
544e4b9a8c
Add proper response type for GuildBans docs
...
The previous documentation stated that the response type was an array of User structures, when the function return an array of GuildBan structures.
2019-05-12 19:14:27 -06:00
Gregory DALMAR
624ff560d4
Merge remote-tracking branch 'upstream/master'
2019-02-01 15:00:32 +01:00
Chris Rhodes
b86482cd77
Backport retrieving Guilds from State to develop. Fix bugs when Guild is Unavailable
2018-11-02 10:37:52 -07:00
Skippy
32167eae71
Merge pull request #546 from ikkerens/patch-2
...
Added GuildChannelCreateComplex
2018-08-27 11:29:35 -05:00
Skippy
2cc0417697
Merge pull request #366 from jD91mZM2/1
...
STOP USING PRINTF PLS
2018-08-22 19:50:27 -05:00
Gregory DALMAR
10b8f7c351
Add pagination to MessageReactions
2018-06-18 15:42:17 +02:00
Sebastian Winkler
6f45ea3535
adds Unique field to ChannelInviteCreate
2018-06-08 14:25:06 +02:00
Chris Rhodes
bb42325c3a
Add an explicit log and error for when a request is attempted with an unauthorized token that is not a bot token. ( #553 )
2018-05-26 16:52:00 -07:00
Bruce
adc6a99c3d
Merge pull request #551 from Seklfreak/add-emoji-methods
...
adds GuildEmojiCreate, GuildEmojiEdit, and GuildEmojiDelete
2018-05-24 09:08:06 -05:00
Sebastian Winkler
9aae26445f
adds InviteWithCounts
2018-05-23 16:27:14 +02:00
Sebastian Winkler
1bf986726a
fixes comments
2018-05-20 14:40:55 +02:00
Sebastian Winkler
8f686efd24
adds GuildEmojiCreate, GuildEmojiEdit, and GuildEmojiDelete
2018-05-20 14:37:02 +02:00
Rens Rikkerink
80ac382641
Added GuildChannelCreateComplex
2018-05-09 14:55:49 +02:00
Rens Rikkerink
da902d321c
Reduce data sent to the DAPI in GuildChannelsReorder ( #537 )
...
This function currently has an issue where it sends too much data, causing Discord to reject the request as it believes you're trying to amend several fields by sending all of them.
This change resolves that by creating a simplified version of the Channel struct that only sends the data required for reordering.
2018-04-20 07:17:00 -07:00
Noah Santschi-Cooney
169895af55
Removed state checking from (s *Session) Guild(...) to be consistent with other methods ( #530 )
2018-04-07 15:53:07 -07:00
Bruce
75d58fe706
Merge pull request #445 from robbix1206/webhookEditChannelID
...
BREAKING CHANGE - Add ChannelID to WebhookEdit (#434 )
2018-04-04 10:54:12 -05:00
Bruce
a9f8ccef5f
Merge pull request #511 from Seklfreak/add-guildchannelcreate-channeltype
...
BREAKING CHANGE - makes GuildChannelCreate use ChannelType (#510 )
2018-04-04 10:00:13 -05:00
antihax
1cdc34e413
Add GuildMemberAdd
2018-03-26 14:56:28 -07:00
Necroforger
1ff9565306
Added UserConnections function and structs ( #514 )
...
* Added UserConnections function and structs
* Rename Connection to UserConnection
* Embed Integrations inside GuildIntegration and remove GuildIntegrationAccount
* Replaced GuildIntegration with Integration
2018-03-07 15:45:09 -08:00
Sebastian Winkler
eb11ffb51c
makes GuildChannelCreate use ChannelType ( #510 )
2018-02-22 14:44:09 +01:00
Sebastian Winkler
18dfe540ad
adds GuildAuditLog() ( #504 )
...
* adds GuildAuditLogs()
* adds missing comments to GuildAuditLog
2018-01-11 07:09:12 -08:00
Bruce Marriner
b58212ae33
If there's an err, return it :)
2017-12-27 21:13:27 +00:00
psheets
e024d5f032
Add ChannelEditComplex ( #493 )
...
* Add ChannelEditComplex
* Fixed comment format
* gofmt
* Reverted permissions and fixed ChannelEditComplex
* Reverted Perms
* Delete discordgo - Shortcut.lnk
removed link
* Added ChannelID param to ChannelEditComplex
* gofmt
2017-12-14 21:59:07 -08:00
vim2meta
74a0038b63
Update restapi.go
2017-11-19 10:13:04 -05:00
vim2meta
d4e2b50ce4
Update restapi.go
2017-11-19 10:12:21 -05:00
Lukas Breuer
1b69ba4a5f
Format restapi.go with gofmt
2017-11-11 19:49:05 +01:00
Lukas Breuer
a838552b22
Remove XKCDPass Invites
...
This feature has been removed from the API quite some time ago.
2017-11-11 18:40:05 +01:00
Carson Hoffman
8f1a335d25
Added fix for #437 ( #452 )
2017-10-08 17:54:06 -07:00
Erik McClure
97a510ca0a
Add rate limit buffering support ( #430 )
...
* Fix #406 : reconnect() can be called while still connected
* Add memberMap to speed up member queries
* Fix error return value and remove deletion
* Fix GuildAdd member map initialization edge case
* Add rate limit buffering support
- Break request into requestInner
- Break LockBucket into LockBucketObject
- Change getBucket to GetBucket so it can be externally accessed
- Add RequestBuffer interface
- Add RequestBuffer pointer to Bucket struct
- Add RequestPostWithBuffer() function to Session
* Remove internal implementation, export ratelimiter instead
2017-10-07 10:54:46 -07:00
robbix1206
550145114d
Add ChannelID to WebhookeEdit ( #434 )
2017-09-21 20:11:41 +02:00
jD91mZM2
c768789edf
Delete useless comma
2017-09-08 17:02:33 +02:00
jD91mZM2
f73dec458e
Stuff... yay
2017-09-08 17:01:32 +02:00
Nick Dumas
c4a08de525
Remove a misspelled copy of EndpointGuildInvites. Issue #440 ( #441 )
...
Reference Issue: https://github.com/bwmarrin/discordgo/issues/440
This endpoint was declard twice in endpoints.go, and used in the
GuildInvites() method on Session values. I replaced the misspelled
invocation.
All tests pass.
2017-09-07 13:46:40 -07:00
Chris Rhodes
fd8721a522
Revert "Fixed 404 when calling Session.GuildCreate ( #439 )"
...
This reverts commit cf237e4c25
.
2017-09-04 21:39:35 -07:00