ObsidianMinor
bb9c43b21a
Update RequestQueueBucket.cs
...
Access "Date" in response header safely with TryGetValue. Hopefully nothing bad happens when lag is 0
2016-11-07 13:42:25 -06:00
RogueException
9fcf88b7ac
Merge pull request #333 from LassieME/issue-332-fix
...
Update ReplyAsync Task to return the sent message.
2016-10-25 03:37:06 -03:00
Sindre Langhus
0b43545ae0
Update ReplyAsync Task to return the sent message.
2016-10-23 23:55:09 +02:00
Christopher F
0b42a2b1b4
Assign a default value to DiscordSocketClient.Status
...
This property previously had a default value of 'null'. In DiscordSocketClient#ConnectInternalAsync, we would attempt to send a null status to Discord, which would fail to serialize, and force the client to disconnect.
2016-10-22 13:14:36 -04:00
RogueException
043f8ded85
Moved ISelfUser.ModifyStatusAsync to DiscordSocketClient.SetStatus/SetGame. Resend status on reconnect.
2016-10-21 11:22:26 -03:00
RogueException
d9e00c9170
Added guild parameter to PresenceUpdated, added GuildMemberUpdated
2016-10-21 09:31:57 -03:00
RogueException
b23d839d8b
Made RequestOptions in XXXMessage.DeleteAsync optional
2016-10-20 05:10:39 -03:00
RogueException
6e1a76d070
Merge pull request #327 from RogueException/issue-240
...
Adjusted GetGuildPruneCount to using params;
2016-10-20 05:05:23 -03:00
Khionu Sybiern
8f553e60a1
Adjusted GetGuildPruneCount to using params;
...
fixes #240
2016-10-20 04:01:18 -04:00
RogueException
b860392b44
Guild prunes must be at least 1 day
2016-10-20 04:49:21 -03:00
RogueException
b22d704001
Renamed SocketGuild.GetCurrentUser -> CurrentUser
2016-10-20 04:40:00 -03:00
RogueException
3458a0ce75
Merge pull request #324 from LassieME/patch-issue-323
...
Fix #323
2016-10-20 04:02:06 -03:00
RogueException
313c957a34
Default isTTS to false on Send methods
2016-10-20 03:55:14 -03:00
RogueException
b8102a6767
Default DependencyMap to an empty map when not supplied
2016-10-20 03:55:14 -03:00
Christopher F
2cbfaa5498
Remove unnecessary slash in RestInvite#Url
...
thanks to auxesis for the find
2016-10-19 16:12:20 -04:00
Sindre Langhus
98088519d1
Update SocketChannelHelper.cs
2016-10-19 14:14:55 +02:00
RogueException
a464f9ec3a
Fixed errors caused by #321
2016-10-18 15:30:19 -03:00
RogueException
0d6ac00905
Merge pull request #321 from RogueException/sysmsg-deletables
...
Moved IDeletable interface up inheritance to IMessage
2016-10-18 15:27:22 -03:00
RogueException
22413f0b9b
Merge pull request #322 from james7132/send-file-async-fix
...
Fix #320
2016-10-18 15:26:48 -03:00
james7132
7dbd2b5325
Fix #320
...
I'm not entirely sure this is the proper way to fix this. However, it seems like
SendFileAsync returns the Task<RestUserMessage>, which would exit the using
block, disposing of the FileStream potentially before the Task is finished.
Changed to await the result of the task before exiting the using block.
2016-10-18 17:41:53 +00:00
Khionu Sybiern
505a63f8e0
Update IMessage.cs
2016-10-18 09:30:52 -04:00
Khionu Sybiern
57824b6847
Update IUserMessage.cs
2016-10-18 09:29:23 -04:00
RogueException
dfe654af3b
PagedAsyncEnumerator's nextPage should return false if there are no more pages.
2016-10-17 16:12:02 -03:00
RogueException
3ca0067f1b
Merge pull request #313 from FiniteReality/scoped-di
...
Move DI stuff around to support scoped DI
2016-10-16 21:50:28 -03:00
Christopher F
11f4dc0d10
Add a missing null-conditional in CommandContext#ctor
...
Prevents an NRE when creating a CommandContext from a message in an IDMChannel
2016-10-16 16:25:10 -04:00
FiniteReality
a7cefbcf9f
Move DI stuff around to support scoped DI
2016-10-16 17:33:00 +01:00
RogueException
c813a049ff
Merge pull request #315 from james7132/command-module-fix
...
Fix #311
2016-10-16 13:20:25 -03:00
james7132
3841eb616c
Fix #311
...
TypeInfo.BaseType will likely return the same Type if all modules derive from
ModuleBase or some common subclass of it. Making it appear as if only one module
is registered.
Changed to TypeInfo.AsType for expected behavior.
2016-10-16 08:39:26 +00:00
RogueException
5389f98042
Ignore errors when deserializing Game
2016-10-16 00:51:47 -03:00
RogueException
123fc90efc
Removed duplicate model
2016-10-16 00:51:47 -03:00
Christopher F
a35d047333
Fix some minor typos in docs
2016-10-15 17:35:20 -04:00
Christopher F
77342903bb
Update Documentation to be compatible with Beta2
...
this one took a while
2016-10-15 17:28:36 -04:00
RogueException
8c8ac47887
Merge pull request #308 from Joe4evr/AutoLoadFix
...
Exclude abstract types from being loaded as modules.
2016-10-15 14:29:24 -03:00
RogueException
881c0320bd
Don't cache generic JsonConverters
2016-10-15 13:47:23 -03:00
RogueException
890318ecfc
Added a simpler CommandContext constructor
2016-10-15 13:08:13 -03:00
RogueException
c497f95d35
Readded navigational props to interfaces
2016-10-15 12:58:32 -03:00
RogueException
8ebc437674
Exposed IDependencyMap in CommandService.Execute
2016-10-15 12:27:51 -03:00
Joe4evr
bc45c0b6a4
Exclude abstract types from being loaded as modules.
2016-10-14 18:41:13 +02:00
RogueException
75fb31e939
Removed IDiscordClient reference from IEntity
2016-10-14 13:12:47 -03:00
RogueException
735c869f3d
Moved Client from ModuleBase to CommandContext.
2016-10-14 13:12:28 -03:00
RogueException
af9a2c2d64
Fixed nullref on guild member remove
2016-10-13 13:49:16 -03:00
RogueException
84980ad203
Fixed OOB error generating bucket ids for certain endpoints
2016-10-13 12:42:08 -03:00
RogueException
13f49bfe7c
Limit preemptive rate limit warnings to once per request.
2016-10-13 12:04:29 -03:00
RogueException
30067959d7
Unpack the arg array if one exists when generating bucket ids
2016-10-13 12:02:34 -03:00
RogueException
88c5dd38bf
Added CommandContext.IsPrivate
2016-10-13 11:50:40 -03:00
RogueException
f93464523e
Cleaned up the Json contract resolver, fixed user mention deserialization
2016-10-12 19:09:49 -03:00
RogueException
606d4e7ba9
Cleaned up net code, readded user token rate limits
2016-10-12 18:12:45 -03:00
RogueException
4643e44e48
Updated package info
2016-10-12 16:49:22 -03:00
RogueException
addb81f288
Fixed Commands version
2016-10-12 16:37:02 -03:00
RogueException
82ee6c5aaa
Fixed error when calling GetMessagesAsync with no cached messages
2016-10-12 15:32:22 -03:00