Commit Graph

2495 Commits

Author SHA1 Message Date
RogueException
158ce0f922 Started adding IAudioClient incoming stream creation/destruction events 2017-03-31 03:59:12 -03:00
RogueException
5e94b97024 Added RequestOptions to RestClient methods. Added guild summary paging. 2017-03-31 03:01:49 -03:00
RogueException
5aa92f8954 Reset position when uploading file from temp stream 2017-03-31 01:47:42 -03:00
RogueException
5a1beeeb66 Fixed DiscordShardedClient CurrentUser and RecipientRemoved 2017-03-31 01:31:38 -03:00
RogueException
13d488f43b Added slow/deadlocked event handler detection 2017-03-31 00:35:20 -03:00
RogueException
bf0be82d15 Added IWebhookUser and MessageSource 2017-03-30 23:29:30 -03:00
RogueException
e7401eda68 Fixed internal nullref on voicestate change 2017-03-25 19:25:00 -03:00
Christopher F
2b4a1249f4 Restrict DependencyMap#Get to reference types
It's impossible to add non-reference types to the map, so why allow pulling them out of it.
2017-03-25 17:08:45 -04:00
RogueException
bbd45a6f4b Fixed CommandException 2017-03-25 11:19:31 -03:00
RogueException
df129dd766 Actually populate SocketSimpleUser's fields 2017-03-23 11:38:03 -03:00
Finite Reality
ca18eb0eb4 Replace TryGetValue call with TryRemove call (#586)
Resolves #584
2017-03-23 11:03:06 -03:00
RogueException
35d7a0cec8 Ensure UploadFile is always a seekable stream. 2017-03-22 06:08:58 -03:00
RogueException
13b9b15cf0 Fixed DateTimeUtils on .Net Standard 1.1 2017-03-22 05:35:19 -03:00
RogueException
32cf7ba5e1 A few datetime fixes 2017-03-22 05:22:11 -03:00
RogueException
22e6b0f386 Fixed RpcChannelSummary accessibilities 2017-03-22 04:34:17 -03:00
RogueException
3a45e9ec87 Support InvalidSession(true) 2017-03-20 23:49:17 -03:00
RogueException
20f7ba431f Cleaned up and fixed several reorder issues. 2017-03-20 23:48:41 -03:00
RogueException
8d435e994b Filter null roles in SocketGuildUser 2017-03-20 23:46:11 -03:00
RogueException
0c8d643519 Minor doc/exception edits 2017-03-18 23:22:39 -03:00
RogueException
3fb21e06c2 Fixed RunMode.Sync running Async. Added ThrowOnError option. 2017-03-18 21:38:28 -03:00
Christopher F
83bd16f329 Don't attempt to convert Embed entities to models if the entity is null
Allows null embeds to be passed into ModifyAsync
2017-03-18 20:36:06 -04:00
RogueException
ba07484fe9 Removed Mixed RunMode 2017-03-18 12:23:51 -03:00
RogueException
a2b12520b2 Added CommandService logging 2017-03-18 12:14:14 -03:00
RogueException
bc469cbb46 Process everyone permission overwrites before role 2017-03-18 11:33:38 -03:00
RogueException
5a6d6ee076 Fixed notempty precondition error message 2017-03-18 10:37:57 -03:00
RogueException
21959fe43c Fixed several permission issues 2017-03-18 10:36:37 -03:00
Finite Reality
2160e5dac8 Improve parameter precondition type safety (#532)
* Improve parameter precondition type safety

Also removes some terrible code which was left over when I first
implemented parameter preconditions. I don't know why that was there.

With this commit, parameter preconditions should be much safer as they
use generic methods instead of janky casting of objects.

* Remove generic CheckPreconditions method
2017-03-18 09:55:53 -03:00
RogueException
96a377a258 If discord error code is 0, fall back to http code 2017-03-18 09:32:04 -03:00
Confruggy
fbd34d6719 Update MessageHelper.cs (#508) 2017-03-18 08:57:56 -03:00
Finite Reality
3ddb01a5a2 Fix order of iteration in ExecuteAsync (#534) 2017-03-18 08:55:56 -03:00
Mateusz Brawański
efbd3cb681 GuildUserExtensions removed in favour of atomic role add/remove endpoints (#540)
* Removed GuildUserExtensions and moved the methods to IGuildUser and implementations

* Made changes per fox's suggestion: Change->Modify. New Modify overload.

* Oops

* Per Volt: reimplemented new endpoints

* Fixing broken docstrings

* I forgot that docstrings are XML

* Implemented atomic add/remove role endpoints

* Removed  so people aren't irked

* Added single-item role add/remove methods
2017-03-18 08:54:49 -03:00
RogueException
11ba30c6fa Cleaned up DepMap type checks 2017-03-18 08:48:18 -03:00
RogueException
334ceacdbf Merge pull request #546 from khionu/dev
Fix detection of IDependencyMap impl
2017-03-18 08:42:57 -03:00
RogueException
84b3d24175 Merge pull request #549 from Mushroom/reactions
Added support for reaction 'me' field
2017-03-18 08:40:55 -03:00
RogueException
683541ba24 Added RequireOwner support for User tokens 2017-03-18 08:38:24 -03:00
RogueException
458deb4332 Merge pull request #560 from Flamanis/patch-1
UserTypeReader ArgumentNullException in DM
2017-03-18 08:31:28 -03:00
RogueException
711a4e90a4 Renamed AvatarFormat -> ImageFormat. Cleaned up. 2017-03-18 08:30:33 -03:00
RogueException
6dd2e0a708 Merge pull request #573 from james7132/auto-avatar
Automatic animated avatar detection
2017-03-18 08:24:31 -03:00
RogueException
cc11d667e3 Merge pull request #574 from Sentinent/get-userreactions-fix
Fixed GetReactionsUsersAsync returning an empty enumerable
2017-03-18 08:22:48 -03:00
james7132
bd0a329912 Simplify format logic 2017-03-16 16:06:40 +00:00
RogueException
587ec65e79 Added Discord.Net.Webhook 2017-03-16 05:35:01 -03:00
RogueException
2b16c8620d Avoid catching log errors 2017-03-15 23:40:25 -03:00
RogueException
254c83ecff Started adding audio receive 2017-03-15 23:40:25 -03:00
RogueException
1d5b7a2b01 Removed Unknown status 2017-03-15 23:40:25 -03:00
RogueException
3bd920ce66 Merged UserPresenceUpdated into UserUpdated 2017-03-15 23:40:25 -03:00
Sentinent
58d9fb1ed6 Fixed GetReactionsUsersAsync returning an empty enumerable 2017-03-14 21:46:14 -07:00
james7132
46b6b8c03b Review fixes 2017-03-15 00:48:37 +00:00
james7132
bfc4fd686e Automatic animated avatar detection 2017-03-15 00:33:07 +00:00
Christopher F
506b4ff36a Merge pull request #571 from LeafyDev/patch-1
Update audio_ffmpeg.cs
2017-03-14 15:38:47 -04:00
Christopher F
afdea0cec8 Merge pull request #572 from Bond-009/patch-2
Fixed the example precondition attribute
2017-03-14 15:38:28 -04:00