Commit Graph

1925 Commits

Author SHA1 Message Date
Christopher F
defc8f1c4e Add docstrings to preconditions. 2016-11-25 18:09:18 -05:00
Christopher F
ea148db08b Add RequireBotPermission, rename RequirePermission
This is a breaking change.

Adds a precondition that requires the bot has a specified permission (Resolves #211).

Renames RequirePermission to RequireUserPermission.
2016-11-25 17:48:08 -05:00
Christopher F
fdecfe6bd4 Add RequireOwner Precondition
This precondition will require that the invoker of the command is the owner of the bot.
2016-11-25 17:44:37 -05:00
FiniteReality
5cdda592c1 Add requested changes 2016-11-25 21:19:41 +00:00
FiniteReality
bc76e38ce5 Fix additional issue with aliases building incorrectly 2016-11-25 21:15:39 +00:00
Sindre G. Langhus
54dd0a5cec Fixed ordering. 2016-11-25 21:51:52 +01:00
Sindre G. Langhus
d0158816d3 Adds DateFormatString to DiscordRestApiClient 2016-11-25 17:10:05 +01:00
Sindre G. Langhus
a455ccc334 Adds a timestamp and fixes Volts issues with Thumbnail and Image URLs. 2016-11-24 01:17:39 +01:00
Sindre G. Langhus
8cf0911a4b DebuggerDisplay fix. 2016-11-23 00:35:31 +01:00
Sindre G. Langhus
4cb7929735 Spacing 2016-11-23 00:27:33 +01:00
Sindre G. Langhus
f8e3ac9910 Something like this perhaps 2016-11-23 00:10:01 +01:00
Sindre G. Langhus
6cdf5ee90e Removed Height/Width. 2016-11-22 23:38:43 +01:00
Sindre G. Langhus
09608b79c3 Adds builders for Thumbnail and Image embeds, and adds json model for Video and Image embeds. 2016-11-22 22:22:16 +01:00
FiniteReality
05fb81c617 Fix a bunch of issues with aliases 2016-11-20 20:20:23 +00:00
FiniteReality
fd5e237b41 Fix commands from being created with invalid aliases 2016-11-20 13:55:55 +00:00
Davipb
b0286975cd Fix parsing of multiple quoted parameters
This should Fix #262
2016-11-19 11:05:53 -02:00
Aaron Scherer
8b8163fc2c Updating CDN url 2016-11-18 15:16:42 -08:00
RogueException
9784a0324c Create a RestUser for messages if a user isn't cached. 2016-11-18 14:25:01 -04:00
RogueException
53ee30c648 Virtual channels should not be exposed to socket classes. Dont store guild in messages. 2016-11-18 14:14:11 -04:00
RogueException
3a5e4b23da Added IGuildUser.ChangeRolesAsync 2016-11-18 09:00:01 -04:00
RogueException
2c990f08f8 Readded fluent-style to EmbedBuilder 2016-11-18 08:33:34 -04:00
RogueException
593ba46f1c Cleaned up command builders and async func names 2016-11-18 08:18:00 -04:00
RogueException
7505831998 Added custom messages to Preconditions 2016-11-18 06:36:51 -04:00
RogueException
a73e411edb Merge branch 'feature/command-builders' of git://github.com/FiniteReality/Discord.Net into FiniteReality-feature/command-builders 2016-11-18 06:11:07 -04:00
FiniteReality
196cce05af Clean up attribute checking and extraneous casts
This probably isn't all of them. This is what I get for copy+pasting code.
2016-11-18 09:24:31 +00:00
FiniteReality
de645548a9 Complete command builders implementation
In theory this should just work, more testing is needed though
2016-11-18 09:14:19 +00:00
RogueException
42cbd67ee0 Removed prerelease tag from project.json 2016-11-17 16:23:12 -04:00
RogueException
cf42bd1854 Restored project.json and old build script 2016-11-17 16:18:49 -04:00
RogueException
9b79019b54 Merge pull request #355 from AntiTcb/fix/enumTypeReader
Values in ImmutableDictionaries were strings rather than enumType
2016-11-17 15:24:17 -04:00
RogueException
0f674d2404 Updated dependencies to .NET Core 1.1 2016-11-17 17:30:51 -04:00
ObsidianMinor
ddca1bc6a4 Migrated projects to Visual Studio 2017 2016-11-17 10:05:30 -06:00
AntiTcb
ef0337752e Proper fix this time, fully tested on names and values. 2016-11-16 23:16:37 -05:00
FiniteReality
6d46347ebc Finish implementation of command builders 2016-11-16 21:01:11 +00:00
RogueException
228209aec8 Ensure rate limits are updated when requests fail 2016-11-16 16:26:06 -04:00
RogueException
853f8f2e6b Added prefixless TagHandling, added startIndex to resolve, fixed bugs. 2016-11-16 16:26:06 -04:00
AntiTcb
59d393b357 Values in ImmutableDictionaries were strings rather than enumType 2016-11-16 11:43:23 -05:00
FiniteReality
ab95ced41d Use default TypeReader if not overriden 2016-11-15 21:57:27 +00:00
FiniteReality
d25fbf78c0 Use lambda-style subbuilders 2016-11-15 21:50:10 +00:00
FiniteReality
af433c82cc Complete builders, start work on using them 2016-11-15 21:28:04 +00:00
RogueException
cabbd0de89 Dont nullref in SendMessageAsync if no embed is provided 2016-11-14 22:48:55 -04:00
RogueException
bdb44f3606 Minor edit 2016-11-14 20:28:34 -04:00
RogueException
4180856e39 Merge branch 'fix/enumTypeReader' of git://github.com/AntiTcb/Discord.Net into AntiTcb-fix/enumTypeReader 2016-11-14 20:17:54 -04:00
RogueException
af6c3e10c3 Cleaned up EmbedBuilder 2016-11-14 20:16:24 -04:00
RogueException
c2722cf7c4 SendMessage should accept EmbedBuilder directly 2016-11-14 20:05:43 -04:00
RogueException
8c5f5ffb7d Merge branch 'dev' into feature/rich-embeds 2016-11-14 19:58:58 -04:00
FiniteReality
f95154af23 Start work on command builders
Right now commands require a module before they can be created;
I'm looking to remove this in the future.
2016-11-14 19:36:48 +00:00
RogueException
b2948deaf7 Fixed unused timeout const, dropped default request timeout to 15s. 2016-11-14 08:43:12 -04:00
RogueException
4633735ae9 Created ClientBucketType enum 2016-11-14 08:15:41 -04:00
RogueException
91e6cb98c3 Merged request BucketId and ClientBucketId. Added IsClientBucket. 2016-11-14 08:15:41 -04:00
RogueException
2e95e4232f Disabled rate limit debugging by default 2016-11-14 08:15:40 -04:00