FiniteReality
156483bf71
Rename overridenType to overridenTypeReader
...
The previous name was causing some confusion
2016-12-03 23:49:05 +00:00
FiniteReality
f11f416024
Add IDependencyMap to parameter preconditions
2016-12-03 23:49:05 +00:00
FiniteReality
b7a5ee6542
Parameter preconditions and typereader overriding
2016-12-03 23:49:05 +00:00
james7132
2c768c413a
Revert CommandService.Modules change
2016-11-30 19:52:58 +00:00
james7132
790ca10d17
Fix accidental line join
2016-11-28 20:44:29 -08:00
james7132
4896524d1a
Limit CommandService.Modules to top level modules
2016-11-28 20:44:29 -08:00
james7132
6865318071
Fix IsSubmodule property's correctness
2016-11-28 20:40:44 -08:00
james7132
0771fcce63
Add Parent property to ModuleInfo
2016-11-28 20:40:44 -08:00
james7132
3e35666186
Add TimeSpan TypeReader
2016-11-27 01:57:12 -08:00
RogueException
08ae9e4e86
Fixed logic in precondition attribute docstrings
2016-11-27 01:13:29 -04:00
RogueException
2a33bb0c12
Escaped amp in XML example.
2016-11-27 01:07:19 -04:00
Christopher F
d72122eef9
Resolve conflicts.
2016-11-26 23:15:36 -05:00
Christopher F
ecc3d9c729
Add configuration option for case insensitive commands
...
Currently, commands are case-sensitive. This PR allows for commands to be case insensitive (which is now the default option).
2016-11-26 23:12:23 -05:00
RogueException
a0c9ba92db
Merge branch 'dev' into feature/more-preconditions
2016-11-26 23:41:45 -04:00
Christopher F
55f6efd080
Merge branch 'issue/365'
...
Conflicts:
src/Discord.Net.Commands/CommandService.cs
2016-11-26 22:26:47 -05:00
Christopher F
fb99b019a0
Fix issues with DefaultRunMode
...
For a command to use the DefaultRunMode, it must now have it's RunMode set to RunMode.Default (this is the default value on CommandAttribute now).
2016-11-26 22:04:02 -05:00
Christopher F
1ed4f703bf
Cache the current application on DiscordSocketClient
2016-11-26 14:59:20 -05:00
Christopher F
f9c5e229d0
Add CommandServiceConfig, DefaultRunMode
...
This adds an (optional) CommandServiceConfig, as well as a DefaultRunMode for commands.
This resolves #368 (for commands where a RunMode is not explicitly specified, a custom default value should be used)
2016-11-25 18:49:35 -05:00
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
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
RogueException
593ba46f1c
Cleaned up command builders and async func names
2016-11-18 08:18:00 -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
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
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
c2722cf7c4
SendMessage should accept EmbedBuilder directly
2016-11-14 20:05:43 -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
Christopher F
bad7d827c3
Modify SendMessage to include an embeds field
2016-11-13 00:51:40 -05:00
Alex
d8440b764a
Changes requested from review
2016-11-12 00:07:25 -05:00
AntiTcb
1d20029c7b
Enumerate over Enum.GetNames to ensure equal value names are not excluded.
2016-11-02 03:01:42 -04:00
Sindre Langhus
0b43545ae0
Update ReplyAsync Task to return the sent message.
2016-10-23 23:55:09 +02:00
RogueException
b8102a6767
Default DependencyMap to an empty map when not supplied
2016-10-20 03:55:14 -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