Commit Graph

2427 Commits

Author SHA1 Message Date
Flamanis
94ea80b45e Modified User#Discrim check to properly check guild 2017-03-08 00:51:10 -06:00
Flamanis
dc2230de86 guildUsers instantiated to empty collection, removed added nullchecks
A null conditional operator was required at line 70 to avoid a nullref.
2017-03-08 00:48:18 -06:00
Flamanis
c643ceaa47 Add space after if and before ( 2017-03-07 18:41:31 -06:00
Flamanis
b5f80a7a6c Should fix Linq ArgumentNullException 2017-03-07 18:29:53 -06:00
RogueException
1b0e47be42 Fixed SocketRole.CompareTo 2017-03-02 06:55:09 -04:00
RogueException
8c75e0d581 Fixed a couple audio bugs 2017-03-02 06:12:14 -04:00
RogueException
1cd67c2467 Allow EmbedFieldBuilder to take object values 2017-03-02 06:00:13 -04:00
Christopher F
5e1d84d918 Merge pull request #395 from LassieME/issue/359
Conflicts:
	src/Discord.Net.WebSocket/DiscordSocketClient.cs
2017-03-01 17:34:39 -05:00
RogueException
34361fa64a Merge pull request #537 from RogueException/issue/477
Check that messages older than two weeks are not passed to bulk delete
2017-03-01 18:19:43 -04:00
Christopher F
66b7e0e7f0 Rename precondition to 'YoungerThanTwoWeeks' 2017-03-01 17:16:06 -05:00
RogueException
4c2221dacb More audio cleanup, finished receive streams 2017-02-26 13:43:11 -04:00
RogueException
8e0c65498b Cleaned up audio code 2017-02-26 10:57:28 -04:00
Christopher F
4a18b321ea Change the minimum allowed message to 13d23h59m
Connection/API lag could cause messages right on the edge of 14 weeks to fail on Discord's end when they pass our checks.
2017-02-25 16:31:46 -05:00
Christopher F
2db60749ca Add IsUnique parameter to CreateChannelInvite
Resolves #469
2017-02-25 16:17:58 -05:00
RogueException
06dcac6a9f Fixed audio and a few ConnectionManager issues 2017-02-25 16:07:22 -04:00
RogueException
3190d7e26d Moved (re)connection handling to ConnectionManager 2017-02-25 16:07:22 -04:00
RogueException
8630185ac9 Started Discord.Net.Relay 2017-02-25 16:07:22 -04:00
RogueException
d321ad3e5c Moved Frame models, added default providers 2017-02-25 16:07:22 -04:00
Christopher F
607f478b9a Check that messages older than two weeks are not passed to bulk delete
This resolves #477
2017-02-23 17:39:10 -05:00
Christopher F
9d7073fafe Merge pull request #436 from RogueException/feature/new-avatars
Replace IUser.AvatarUrl with IUser#GetAvatarUrl(size)
2017-02-23 16:20:40 -05:00
Christopher F
c486f0ee50 Don't force avatar formats 2017-02-23 16:11:34 -05:00
Christopher F
a5adc8a129 Cleanup from rebase 2017-02-23 16:04:13 -05:00
Christopher F
6116c1bcef Replace IUser.AvatarUrl with IUser#GetAvatarUrl(size)
This is to support the new user image endpoint, which provides a parameter for image resizing.
2017-02-23 15:59:17 -05:00
Christopher F
3c9704c822 Merge pull request #520 from james7132/property-injection
Conflicts:
	docs/guides/samples/dependency_module.cs
	src/Discord.Net.Commands/Utilities/ReflectionUtils.cs
2017-02-23 15:51:24 -05:00
Christopher F
7476c4ca38 Cleanup property injection 2017-02-23 15:47:46 -05:00
Christopher F
6fd834f326 Merge pull request #417 from RogueException/feature/better-di
Enhance Dependency Injection
2017-02-21 16:56:25 -05:00
Christopher F
87f404c23b Move logging lambda to its own method 2017-02-21 16:36:06 -05:00
Christopher F
c1a5960116 Merge pull request #495 from Flamanis/dev
Conflicts:
	docs/guides/samples/logging.cs
Update logging.cs
2017-02-21 16:34:30 -05:00
Christopher F
061935cc9f Clean up #501 2017-02-21 16:29:40 -05:00
Christopher F
68eeb63127 Merge pull request #501 from khionu/patch-1
Update home page on docs
2017-02-21 16:27:14 -05:00
Christopher F
a110c862f6 Merge pull request #503 from Joe4evr/DocSamples
Update doc samples
2017-02-21 16:24:35 -05:00
Christopher F
755651080d Merge pull request #524 from RyadaProductions/patch-1
Update docs' status sample
2017-02-21 16:24:18 -05:00
Christopher F
c8f382ce2a Merge pull request #526 from RogueException/feature/user-roles
Add Roles property to SocketGuildUser
2017-02-21 16:22:45 -05:00
Christopher F
bb9f144eae Remove implicit SocketGuildUser.RoleIds; refactor Roles to ReadOnly 2017-02-21 16:19:33 -05:00
Sindre G. Langhus
ab60f63511 Changes HasValue in Cachable to constructor argument 2017-02-21 22:11:48 +09:00
Joe4evr
f4918c793b Add comment about message cache 2017-02-21 06:06:06 +01:00
RogueException
1070feafa8 Merge pull request #509 from aequasi/patch-2
Typo
2017-02-20 18:32:02 -04:00
RogueException
85e0dee0f0 Merge pull request #523 from Emzi0767/dev
Fixed couple non-default arguments in REST messages
2017-02-20 18:16:35 -04:00
RogueException
966be796b2 Merge pull request #504 from Joe4evr/TypeReader_NRE_fix
Fix ParameterInfo.Type sometimes being null
2017-02-20 18:14:21 -04:00
james7132
29261a943a Fix typo 2017-02-15 21:44:31 +00:00
Christopher F
e601cea255 Add Roles property to SocketGuildUser
there's a few different ways to select a user's roles from their role IDs, and this one seems to be the most efficient.

doesn't seem like there's any reason this shouldn't be included.
2017-02-15 15:59:23 -05:00
RyadaProductions
e3d31c5bd1 Update status.cs
SetStatus and SetGame don't exist, only SetStatusAsync and SetGameAsync
2017-02-15 13:26:25 +01:00
Emzi0767
9c3f858b42 Fixed couple non-default arguments in REST messages 2017-02-13 22:22:06 +01:00
RogueException
941e8383b1 Merge pull request #522 from RogueException/feature/idiot-repellent
Throw an InvalidOp if a user tries to set the DefaultRunMode to Default
2017-02-13 00:44:57 -04:00
Christopher F
f3aa546407 Throw an InvalidOp if a user tries to set the DefaultRunMode to Default
never overestimate the end user
2017-02-12 19:06:36 -05:00
RogueException
70e8cea6e2 Fixed order for permission resolving 2017-02-11 23:15:48 -04:00
james7132
9609520a53 Remove "Get" statement from example docs 2017-02-11 20:12:53 +00:00
james7132
73f00eb0d7 Ensure injected properties have public setters 2017-02-11 20:12:12 +00:00
Christopher F
6352cbebef Add TryAdd to DependencyMaps 2017-02-11 13:53:14 -05:00
Christopher F
40ede62e4d Remove Auto-Injection
this should be handled by #520
2017-02-11 13:38:26 -05:00