Commit Graph

2609 Commits

Author SHA1 Message Date
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
RogueException
e0a0d2100d Reduced missed heartbeat aggressiveness 2017-02-11 01:49:28 -04:00
james7132
145ae1518b Fix properties not being set properly on injection 2017-02-11 05:48:45 +00:00
james7132
bb95686078 Update docs to reflect the change. 2017-02-10 22:11:06 +00:00
james7132
f1df412341 Change whitelist injection into blacklist injection 2017-02-10 22:02:18 +00:00
james7132
f0b4c24e82 Add InjectAttribute for annotating injectable properties 2017-02-10 21:52:33 +00:00
james7132
a551064eaf Add IDependencyMap injection for public properties 2017-02-10 15:44:24 +00:00
RogueException
8be4cb72e3 SocketSystemMessage Internal -> Public 2017-02-07 21:15:27 -04:00
RogueException
ea3a8f6a01 Added EmbedBuilder.AddField(EmbedFieldBuilder) 2017-02-07 21:13:26 -04:00
RogueException
0cf5493c61 Fixed crash, added DM/Group channel helpers 2017-02-07 21:10:30 -04:00
RogueException
d9fd0c34e4 Fixed bugs with creating invites 2017-02-07 19:48:09 -04:00
Aaron Scherer
858af5e8bb Typo 2017-02-04 05:48:48 -08:00
Sindre Langhus
d8682a82b2 Change all signatures in the SocketClients to interfaces. 2017-02-03 15:04:54 +01:00
Sindre G. Langhus
25547407c8 Now this should be ready to, I am the worst at git. 2017-02-02 14:41:27 +01:00
Sindre G. Langhus
4b13e3fb00 Changed MessageUpdated to use Cacheable as well, after discussion with Volt. 2017-02-02 13:52:38 +01:00
Sindre G. Langhus
2d67cf36ae Changed Id from a ulong to generic TId, as per discussion. 2017-02-02 13:52:38 +01:00
Sindre G. Langhus
2a1314da25 Cleanup. 2017-02-02 13:52:35 +01:00
Christopher F
daf0ac9347 Added docstrings for Cacheable 2017-02-02 13:51:53 +01:00
Sindre G. Langhus
705d71875c Simplified PR, renamed Cached to Cacheable. 2017-02-02 13:51:53 +01:00