nitroflap
d5c82ad374
feat(*)!: dropped undocumented endpoints
2022-02-08 18:25:24 +03:00
Eric Wohltman
9c33bfbada
Update unmarshal function to wrap ErrJSONUnmarshal and return specific error message. Requires at least Go 1.13. ( #924 )
2021-05-14 22:30:27 -04:00
Bruce Marriner
d45cbf73f0
Changed test Nickname, for fun!
2017-11-11 15:08:49 +00:00
jonas747
31075bc148
Update the GatewayBot test to use the bot session
2017-07-10 18:36:19 +02:00
jonas747
9d3cd03314
Add GatewayBot
2017-07-10 18:31:26 +02:00
jonas747
86a21ea94b
Updated userguilds to new api ( #296 )
...
* Updated userguilds to new api
* Fixed typos
2016-12-10 09:45:07 -08:00
AI
982cd7d7c3
Add support for the prune endpoint ( #282 )
...
* Add support for the prune endpoint
Adds functions to get the amount of members that could be pruned
and to prune members using the prune endpoint.
May close : bwmarrin/discordgo#147
* Deal with the go vet error
Removed the json tags from the unexported struct.
Should pass the tests now.
* Make the PR consistent with the rest of the file.
Removes url building in favour of string concatenation.
* Fix the previous commit
Adds back the result struct.
Converts the uint32 to string.
* Deal with golint comments
* Remove the failing test
Cleans up the uri concatenation.
Removes the failing test due to incorrect permissions.
2016-11-07 16:06:08 -08:00
robbix1206
af3fe4842a
Add Support of changing user status ( #258 )
...
Add Support of changing user status
2016-09-28 10:04:37 -07:00
Bruce Marriner
8afeb296e6
Removed test that no longer works on non-bot accounts.
2016-06-28 12:05:32 -05:00
Bruce Marriner
d59000f544
Fix Avatar Test, so it works better.
2016-06-14 10:54:30 -05:00
Bruce Marriner
7c19b6bc86
Update error msg in test
2016-05-28 15:13:36 -05:00
jonas747
c8b796b223
Add GuildMemberNickname
2016-04-30 23:43:05 +02:00
Bruce Marriner
de235a04f0
Adjust error code returned from UserAvatar test
2016-04-26 20:19:29 -05:00
Bruce Marriner
280ad2cdc3
dg nil check on TestGateway
2016-04-25 20:16:18 -05:00
Bruce Marriner
0d1f5f55fb
Add nil checks for dg on new tests
2016-04-25 14:06:37 -05:00
Bruce Marriner
23dc063228
Added a few tests
2016-04-25 13:04:21 -05:00
Bruce Marriner
ae20f9c4b1
It's all Jake & b1nzy's fault.
...
Removed unit test that is now 2/hour rate limited and causing
Travis to think we're failures.
2016-03-20 14:50:26 -05:00
Bruce Marriner
ad1d0fac60
Tiny bit more test.
2016-01-22 17:17:06 -06:00
Chris Rhodes
5f9326d165
Clean up tests further.
2016-01-20 23:38:17 -08:00
Bruce Marriner
80cfd644b4
Added tests for restapi.go
2016-01-11 14:35:11 -06:00