RogueException
394e0aa4d1
Reorganized properties in Emoji.cs
2017-06-29 18:06:12 -03:00
Pat Murphy
224d0403db
Adding Equals() overloads for reactions/emotes ( #723 )
2017-06-29 18:05:16 -03:00
Finite Reality
032aba9129
Update commands with C#7 features ( #689 )
...
* C#7 features in commands, CommandInfo in ModuleBase
* Update TypeReaders with C#7 features and IServiceProvider
* Add best-choice command selection to CommandService
* Normalize type reader scores correctly
* Fix logic error and rebase onto dev
* Change GetMethod for SetMethod in ReflectionUtils
Should be checking against setters, not getters
* Ensure args/params scores do not overwhelm Priority
* Remove possibility of NaNs
2017-06-29 17:43:55 -03:00
Alex Gravely
41222eafeb
Add color presets. ( #725 )
...
* Add DiscordColors struct
* Moved presets to Discord.Color
2017-06-29 17:40:40 -03:00
Christopher F
7837c4862c
Revert change of all Url types on IEmbed to string ( #724 )
2017-06-29 17:38:05 -03:00
Christopher F
1ce1c019b3
Add support for audit log reasons ( #708 )
...
* Add support for audit log reasons
* Made changes per discussion
2017-06-29 17:01:59 -03:00
Christopher F
9085e44dda
Merge pull request #712 from AntiTcb/patch-1
...
Update events.cs, clarify enabling message caching.
2017-06-28 13:04:53 -04:00
Christopher F
3b8434cdc4
Merge pull request #715 from Joe4evr/patch-2
...
PreconditionGroup quick fix
2017-06-28 13:02:58 -04:00
Christopher F
daae56e37e
Merge remote-tracking branch 'origin/dev' into dev
2017-06-27 08:49:53 -04:00
Christopher F
1d612f15c8
ToString on types of IEmote should return a chat formatted string
2017-06-27 08:49:46 -04:00
Christopher F
04e71129cf
Merge pull request #718 from FiniteReality/issue/missing-tweet-type
...
Add 'tweet' embed type
2017-06-25 01:54:14 -04:00
FiniteReality
107f1b5803
Add 'tweet' embed type
2017-06-24 22:09:46 +01:00
Christopher F
a396a1cb1c
Merge pull request #717 from Joe4evr/FixPropertyInjection
...
Fix attempting to inject into static properties
2017-06-24 06:47:30 -04:00
Joe4evr
cc390f03de
Fix the off-chance that someone has a property without a getter
2017-06-24 02:56:57 +02:00
Joe4evr
34917a35de
In my defense, it was 2:40 AM
2017-06-24 02:50:30 +02:00
Joe4evr
444868b22d
Fix attempting to inject into static properties
2017-06-24 02:39:15 +02:00
Joe4evr
36ed2b49f0
PreconditionGroup quick fix
...
It didn't make much sense
2017-06-23 20:46:59 +02:00
Christopher F
ea685b4f23
Add 'article' EmbedType
2017-06-23 14:33:41 -04:00
Alex Gravely
707ec95717
Add SocketRole.Members property ( #659 )
...
* Add SocketRole.Members property
* Change Members to IEnumerable.
2017-06-23 12:01:44 -03:00
Amir Zaidi
d088d7b05c
Add packetLoss argument for PCM streams, change FrameBytes to FrameSamplesPerChannel in OpusEncodeStream ( #677 )
2017-06-23 11:48:42 -03:00
Christopher F
256af0b269
Merge remote-tracking branch 'origin/issues/667' into dev
2017-06-23 10:42:19 -04:00
Pat Murphy
5601d00285
Add various property validation in EmbedBuilder ( #711 )
...
* Add various property validation in EmbedBuilder
* Embed URI changes
Changes property types for any URLs in Embeds to System.URI.
Adding field name/value null/empty checks.
* including property names in argumentexceptions
* Adds overall embed length check
2017-06-23 11:29:55 -03:00
Christopher F
5f04e2beba
Cache outgoing presence data if disconnected ( #705 )
...
This resolves #702
2017-06-23 11:29:45 -03:00
Christopher F
fb0a056d76
Add IUser#SendMessageAsync extension ( #706 )
...
* Add IUser#SendMessageAsync extension
* Add ConfigureAwait
2017-06-23 11:29:39 -03:00
Finite Reality
cce572c600
Include names in command builder exceptions ( #663 )
2017-06-23 11:28:30 -03:00
Joe4evr
4a9c8168a9
Add grouping of preconditions to allow for flexible precondition logic. ( #672 )
...
* Add grouping of preconditions to allow for flexible precondition logic.
* Fix checking Module Preconditions twice (and none of the command's own)
* Fix command preconditions group 0 looping over every other precondition anyway #whoopsies
* Use custom message when a non-zero Precondition Group fails.
* Fix doc comment rendering.
* Refactor loops into local function
* Considering a new result type
* Switch to IReadOnlyCollection<T> and fix compiler errors
* Revert PreconditionResult -> IResult in return types - Change PreconditionResult to a class that PreconditionGroupResult inherits.
* Feedback on property name.
* Change grouping type int -> string
* Explicitly use an ordinal StringComparer
* Full stops on error messages
* Remove some sillyness.
* Remove unneeded using.
2017-06-23 11:28:22 -03:00
Christopher F
d44d5e7198
Merge pull request #710 from FiniteReality/issue/704
...
Change wording of permission preconditions
2017-06-20 21:03:33 -04:00
Alex Gravely
6e21d33999
Update events.cs
...
Forgot a var >_>
2017-06-20 20:44:33 -04:00
Alex Gravely
759da09c38
Update events.cs
...
Gladly taking suggestions for a better comments.
2017-06-19 15:21:46 -04:00
Christopher F
33e765f8f5
Use StringEnum converter in API model
2017-06-17 19:00:22 -04:00
FiniteReality
0550006d56
Change wording of permission preconditions
...
Also fix an issue where RequireBotPermission may throw if used in a
non-guild channel which required guild permissions.
2017-06-17 15:10:35 +01:00
Christopher F
0708bc5d48
Add EmbedType enum
2017-06-16 22:39:40 -04:00
Christopher F
1942637380
Merge pull request #656 from AntiTcb/fix/GetDMChannelAsync
...
Remove IUser.CreateDMChannelAsync / Fix SocketGlobalUser.DMChannel
2017-06-16 21:22:56 -04:00
AntiTcb
fb57a61432
Rename to GetOrCreateDMChannelAsync
2017-06-16 20:43:50 -04:00
Alex Gravely
8c2a46e9e7
Add ulong overload to IMessageChannel.DeleteMessagesAsync ( #649 )
2017-06-15 12:05:41 -03:00
Christopher F
6ad4889a9e
Merge pull request #651 from Bond-009/patch-1
...
Remove wrong parameter from FFMPEG audio example
2017-06-15 10:45:19 -04:00
Christopher F
23eda77f95
Merge pull request #680 from BlockBuilder57/patch-1
...
Add newest verification level
2017-06-15 10:44:59 -04:00
Christopher F
9a8d914735
Merge pull request #642 from Fr0sZ/patch-1
...
Fixed exemple calling old non existing function.
2017-06-15 10:44:45 -04:00
Christopher F
699ac29ff5
Merge pull request #645 from Bond-009/patch-2
...
Update the example precondition to use IServiceProvider
2017-06-15 10:44:33 -04:00
Christopher F
77bf841d1d
Merge pull request #669 from Bond-009/cmddocs
...
Update cmd docs to use IServiceProvider
2017-06-15 10:43:14 -04:00
Drew
fb01e16b36
Fixed dead link ( #662 )
...
* Update intro.md
* Update intro.md
* Update intro.md
* Update intro.md
* Update intro.md
* Update intro.md
* Update intro.md
2017-06-15 10:43:06 -04:00
Christopher F
1018fa6873
Merge pull request #683 from Joe4evr/QuickstartExtraComments
...
Added/clarified some comments in structure.cs
2017-06-15 10:42:40 -04:00
Christopher F
925ae945e1
Merge pull request #699 from Izumemori/spelling-fix
...
Fix spelling
2017-06-15 10:42:33 -04:00
Joe4evr
b0a3ce5e7c
Respond to feedback.
2017-06-13 10:58:06 +02:00
Izumemori
1d096a7fc5
Fix spelling
2017-06-13 01:58:54 +02:00
Joe4evr
6cdc48bfa6
Move instructions about BuildServiceProvider() up
2017-06-07 04:32:59 +02:00
Joe4evr
12acfec1db
Respond to feedback
2017-06-04 23:44:39 +02:00
Joe4evr
d05191ed05
Added/clarified some comments in structure.cs
2017-05-30 17:54:32 +02:00
BlockBuilder57
2ef53330fb
Add newest verification level
...
Users must have a verified phone on their Discord account.
http://i.imgur.com/BexDgzS.png
2017-05-29 13:33:28 -05:00
AntiTcb
73611d1fab
Remove IUser.CreateDMChannelAsync, implicitly implement IUser.GetDMChannelAsync
2017-05-27 14:47:12 -04:00