Eugene
82be39a218
Remove redundant line
...
s.StateEnabled variable already set to true above
2018-07-25 12:00:40 +03:00
Chris Rhodes
d6e795c573
Make sure MemberCount isn't stomped when Guilds are added.
2018-07-23 20:09:49 -07:00
Altarrel
d7a58a4f11
Minor spelling fixes ( #559 )
2018-06-18 13:42:32 -07:00
Bruce
bc7403812a
Merge pull request #558 from Seklfreak/add-create-channel-invite-unique-field
...
Adds support for the Unique field to ChannelInviteCreate
2018-06-11 09:58:56 -05:00
Sebastian Winkler
6f45ea3535
adds Unique field to ChannelInviteCreate
2018-06-08 14:25:06 +02:00
Aaron Meese
67729f3d95
Update README.md ( #542 )
...
Added hyphens to bullet points to make them match the 'Special Thanks' style and a proper comma
2018-06-06 18:29:09 -07:00
Cory Ory
e28d444422
Add userlimit to the channel struct ( #557 )
2018-06-06 18:20:03 -07:00
Bruce
003b7cafd1
Merge pull request #555 from shawntoffel/locale
...
#554 Added locale to user struct
2018-05-29 21:49:06 -05:00
Shawn Toffel
703389b219
#554 Added locale to user struct
2018-05-30 00:04:52 +00: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
Bruce
ab79149c74
Merge pull request #552 from Seklfreak/add-get-invite-with-count
...
adds InviteWithCounts
2018-05-24 09:07:25 -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
Dim
82c8cf21b2
Add GuildID to multiple structs ( #541 )
2018-05-02 17:07:23 -07:00
Bruce
2bc32439c4
Merge pull request #539 from mroseman95/fix-typo-oauth2-test
...
fixed small typo in oauth2_test.go
2018-04-25 20:34:28 -05:00
Matthew Roseman
ecd6077268
fixed small typo in oauth2_test.go
...
Signed-off-by: Matthew Roseman <mroseman95@gmail.com>
2018-04-21 21:55:51 -04: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
d32a8f518d
Fixed ContentWithMoreMentionsReplaced() for roles ( #521 )
...
* Bump to v0.17.0
* Add members from GuildMembersChunk to state (#454 )
* Revert "Add members from GuildMembersChunk to state (#454 )" (#455 )
This reverts commit e4487b30d4
.
* travis: update go versions
* Fixed ContentWithMoreMentionsReplaced() for roles
Discord breaking the API again? Roles seem to always be in the form `<@&id>` now
* Update message_test.go
* Removed changes
* Removed changes
Need to learn git *properly* :(
2018-04-19 09:14:04 -07:00
Rens Rikkerink
22ec91f6cf
Added Mention() func for Channel ( #536 )
...
* Added Mention() func for Channel
* Changed variable name
Adding the func in Github was so simple I didn't bother seeing if it'd compile, I shortly after realised my mistake.
2018-04-19 08:41:00 -07:00
Carson Hoffman
293b41141d
Fix for #532 ( #533 )
2018-04-12 20:40:50 -07:00
tsudoko
aad0e0b32a
Add Icon channel field ( #531 )
2018-04-09 20:26:23 -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
Bruce
5265dfdeda
Merge pull request #523 from antihax/develop
...
Add GuildMemberAdd
2018-04-04 09:56:12 -05:00
Bruce
0a529782ab
Merge pull request #527 from Seklfreak/add-guild-fields
...
adds missing fields to guild struct
2018-04-04 09:53:19 -05:00
Sebastian Winkler
dd26841a4f
adds missing fields to guild struct
2018-04-03 16:55:56 +02:00
antihax
1cdc34e413
Add GuildMemberAdd
2018-03-26 14:56:28 -07:00
Bruce
0840d4bc38
Merge pull request #516 from CarsonHoffman/doc-improvements
...
General documentation improvements
2018-03-14 15:35:55 -05:00
Carson Hoffman
964060f34c
General documentation improvements
2018-03-14 14:57:40 -04: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
Wim
ffa9956c9b
Fix role mention replacement ( #509 )
...
* Fix role mention replacement
* Fix message test too
2018-02-14 15:05:22 -08:00
Chris Rhodes
7f8369a45f
Clean up status methods.
2018-02-08 21:00:24 -08:00
Daniel Thorpe
e8cd93cf15
Add a listening status method ( #508 )
...
* Bump to v0.17.0
* Add members from GuildMembersChunk to state (#454 )
* Revert "Add members from GuildMembersChunk to state (#454 )" (#455 )
This reverts commit e4487b30d4
.
* travis: update go versions
* Allowed setting the game to null.
* Allowed for setting status to listening.
* Changed variable names for better consistency
* Reverted updateStatus to maintain API compatibility, instead added now
UpdateListeningStatus method which directly calls UpdateStatusComplex.
* Fix version to 0.18.0-alpha
* Make the new UpdateListeningStatus read a bit better.
* Updated setting game to nil for better compatibility.
* Remove the explicit nil check, as no longer seems to be needed.
* Fix comment styling.
* Remove idle as unused.
2018-02-08 20:50:07 -08:00
Sebastian Winkler
e7e5f85367
adds default avatar generation to AvatarURL method ( #488 )
...
* adds default avatar generation to AvatarURL method
* converts discriminator string to integer in endpoints.go
2018-02-08 20:08:56 -08:00
Bruce
156f776f95
Merge pull request #507 from CarsonHoffman/role-mention
...
Added Role.Mention function
2018-01-30 16:14:20 -06:00
Carson Hoffman
5765bb7804
Added Role.Mention function
2018-01-28 20:02:52 -05:00
Carson Hoffman
a0faf9a0d0
Removed unnecessary error check ( #505 )
2018-01-22 14:32:00 -08:00
Eric Wohltman
8591961512
Small update to supported Game Activity Types ( #500 )
2018-01-11 16:48:25 -08: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
Bruce Marriner
2c2b0166af
Run tests vs Go 1.7, 1.8, and 1.9
2017-12-27 20:04:55 +00:00
Bruce Marriner
0d2878bac4
Remove tests against email/password.
2017-12-27 20:03:15 +00:00
Sebastian Winkler
e6ed3d579b
adds support for animated emojis ( #496 )
2017-12-22 08:35:44 -08: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
Bruce
0003ae7dd2
Merge pull request #487 from Seklfreak/add-invite-unique-field
...
Adds the unique field to the invite struct
2017-12-03 20:28:53 -06:00
Bruce
ac871abd87
Merge pull request #486 from MrJohnCoder/patch-2
...
Fix typo
2017-12-03 20:14:07 -06:00