FiniteReality
859780e837
Change GetMethod for SetMethod in ReflectionUtils
Should be checking against setters, not getters
8 years ago
FiniteReality
1c8cbb93d7
Fix logic error and rebase onto dev
8 years ago
FiniteReality
e35265abf1
Normalize type reader scores correctly
8 years ago
FiniteReality
264d591dc4
Add best-choice command selection to CommandService
8 years ago
FiniteReality
3cffefaf19
Update TypeReaders with C#7 features and IServiceProvider
8 years ago
FiniteReality
dadba5065a
C#7 features in commands, CommandInfo in ModuleBase
8 years ago
Christopher F
3b8434cdc4
Merge pull request #715 from Joe4evr/patch-2
PreconditionGroup quick fix
8 years ago
Christopher F
daae56e37e
Merge remote-tracking branch 'origin/dev' into dev
8 years ago
Christopher F
1d612f15c8
ToString on types of IEmote should return a chat formatted string
8 years ago
FiniteReality
107f1b5803
Add 'tweet' embed type
8 years ago
Joe4evr
cc390f03de
Fix the off-chance that someone has a property without a getter
8 years ago
Joe4evr
34917a35de
In my defense, it was 2:40 AM
8 years ago
Joe4evr
444868b22d
Fix attempting to inject into static properties
8 years ago
Joe4evr
36ed2b49f0
PreconditionGroup quick fix
It didn't make much sense
8 years ago
Christopher F
ea685b4f23
Add 'article' EmbedType
8 years ago
Alex Gravely
707ec95717
Add SocketRole.Members property ( #659 )
* Add SocketRole.Members property
* Change Members to IEnumerable.
8 years ago
Amir Zaidi
d088d7b05c
Add packetLoss argument for PCM streams, change FrameBytes to FrameSamplesPerChannel in OpusEncodeStream ( #677 )
8 years ago
Christopher F
256af0b269
Merge remote-tracking branch 'origin/issues/667' into dev
8 years ago
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
8 years ago
Christopher F
5f04e2beba
Cache outgoing presence data if disconnected ( #705 )
This resolves #702
8 years ago
Christopher F
fb0a056d76
Add IUser#SendMessageAsync extension ( #706 )
* Add IUser#SendMessageAsync extension
* Add ConfigureAwait
8 years ago
Finite Reality
cce572c600
Include names in command builder exceptions ( #663 )
8 years ago
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.
8 years ago
Christopher F
33e765f8f5
Use StringEnum converter in API model
8 years ago
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.
8 years ago
Christopher F
0708bc5d48
Add EmbedType enum
8 years ago
Christopher F
1942637380
Merge pull request #656 from AntiTcb/fix/GetDMChannelAsync
Remove IUser.CreateDMChannelAsync / Fix SocketGlobalUser.DMChannel
8 years ago
AntiTcb
fb57a61432
Rename to GetOrCreateDMChannelAsync
8 years ago
Alex Gravely
8c2a46e9e7
Add ulong overload to IMessageChannel.DeleteMessagesAsync ( #649 )
8 years ago
Christopher F
23eda77f95
Merge pull request #680 from BlockBuilder57/patch-1
Add newest verification level
8 years ago
Izumemori
1d096a7fc5
Fix spelling
8 years ago
BlockBuilder57
2ef53330fb
Add newest verification level
Users must have a verified phone on their Discord account.
http://i.imgur.com/BexDgzS.png
8 years ago
AntiTcb
73611d1fab
Remove IUser.CreateDMChannelAsync, implicitly implement IUser.GetDMChannelAsync
8 years ago
RogueException
8eb9b2071c
Set hasHeader in SodiumEncrypt
8 years ago
RogueException
333881a711
Expose audio header more often
8 years ago
AntiTcb
7db38f32bb
Attach/Remove DMChannel to SocketGlobalUser.DMChannel property
8 years ago
AntiTcb
33a91ba3de
Remove redundant explicit interface definition.
8 years ago
AntiTcb
aeef5d0893
Update DM channel on entity updates.
8 years ago
AntiTcb
6fed78025c
Create DM channel if one does not exist.
8 years ago
RogueException
c01769ef4a
Updated version to 1.0.0-rc3
8 years ago
RogueException
4c7fad78e1
Build promises when guild is unavailable
8 years ago
RogueException
feebcb4838
Update System.Net.Http to 4.3.2
8 years ago
RogueException
285a0e5817
Updated deps, cleaned csprojs
8 years ago
FiniteReality
1e888cde24
Fix CheckPreconditions giving empty service provider
Parameter preconditions were always getting the empty service provider,
even when a custom one was provided in ExecuteAsync, which means that
preconditions which use services cannot work properly.
8 years ago
FiniteReality
00895b1227
Remove CommandService.BuildServiceCollection
💥
8 years ago
Finite Reality
112a434424
Allow for case-insensitive HasStringPrefix ( #644 )
This was 👍 'd in the dev chat, I forgot to make a PR for it (whoops!)
8 years ago
Sindre Langhus
82a413ace6
Fix for empty user objects after GUILD_MEMBER_REMOVE ( #641 )
* Made GetOrCreateUser always call AddRef and added check to PRESENCE_UPDATE to avoid readding users who have been removed from guilds
* Removed AddRef as per dev guild discussion
8 years ago
RogueException
870dc50a68
Fixed RequireNsfwAttribute definition
8 years ago
RogueException
4a128b326b
Increment globaluser refs on private channel creation
8 years ago
RogueException
bd5ec0a29a
Increment GlobalUser reference count on GuildUser creation
8 years ago