1
0
mirror of https://github.com/oliverbooth/VpSharp synced 2024-11-14 04:05:41 +00:00
Commit Graph

39 Commits

Author SHA1 Message Date
e71494ef83
refactor!: revert 63e775855a 2024-06-01 18:14:14 +01:00
2669b5083d
refactor!: revert to 397ec2bcf9 2024-05-30 19:36:57 +01:00
ff298a8af5
refactor!: extract interface for Message
This commit also amends the previous commit, where files relevant for User were missed
2024-03-17 13:28:42 +00:00
3841ad13aa
refactor!: extract interface for User 2024-03-17 13:25:32 +00:00
338e338155
refactor!: remove VirtualParadise prefix from entities 2024-03-17 12:40:23 +00:00
982e96595b
chore: add directory.build.props 2024-02-17 15:02:31 +00:00
5ffc7a5a3b
refactor: replace throw helper with explicit null check 2024-02-15 22:38:48 +00:00
682edbe8c6
chore: bump Commands module to 1.0.0 2024-01-20 17:30:34 +00:00
d6cd882e0a
fix: amend 63e775855a 2024-01-20 17:30:24 +00:00
c824467845
refactor: remove Assembly.cs, define attributes in csproj 2023-05-25 19:29:31 +01:00
4a3e790767
feat(commands): add RequireBotOwnerAttribute 2023-05-08 17:29:39 +01:00
9171872ec4
refactor: offer cls-compliant attribute ctors 2023-05-08 16:02:30 +01:00
7084fc3f4a
style: reduce complexity of command arg parsing 2023-05-08 15:59:39 +01:00
1f761668f7
fix(commands): swap out unreferenced MessageReceivedEventArgs 2023-05-08 15:44:06 +01:00
65a9a0e1e3
feat(commands): add support for optional args 2023-05-06 16:00:41 +01:00
487bb8ca88
feat(commands): add support for enums and other arg types 2023-05-06 15:56:16 +01:00
2fc22fa8a6
Move instance creation to VpSharp base
Introduces internal DepdencyInjectionUtility class
2022-12-10 13:40:47 +00:00
18f26925da
Expose Client from CommandContext 2022-12-08 20:26:10 +00:00
29ed6155a5
Validate parameter length before invoking 2022-12-08 18:31:06 +00:00
d82a4d2e5e
Add pre-execution checks 2022-12-05 01:43:40 +00:00
a30f15b452
Cleanup unused import 2022-12-05 01:02:05 +00:00
335f3f8c66
Remove debug IO 2022-11-30 21:37:17 +00:00
3c5091e040
I don't even need to explain this one
But in case you're curious: https://en.wikipedia.org/wiki/Off-by-one_error

TL;DR I am stupid
2022-11-30 21:13:41 +00:00
c7709d9b93
Validate not-null ctor args 2022-11-30 20:57:39 +00:00
5b6bbac689
Add support for dependency injection 2022-11-30 20:54:22 +00:00
168c6d9177
Add CLSCompliant attribute to VpSharp.Commands assembly 2022-11-30 20:18:50 +00:00
a90d2ccc7f
Suppress CA1019, false positive
CA1019 wants us to expose the parameter as a property, but this value is concatenated to the aliases list which conglomerates all aliases - including the first parameter - into one list
2022-11-30 18:59:01 +00:00
4f123d384e
Order members alphabetically 2022-11-30 18:53:19 +00:00
7e69bdce39
Use explicit type when not apparent 2022-11-30 18:52:49 +00:00
548a5de2be
Don't use base Exception 2022-11-30 18:47:57 +00:00
80679fa8c4
Add missing xmldoc 2022-11-30 18:46:02 +00:00
88483373ee
Fix spacing 2022-11-30 18:25:05 +00:00
cfd1e4c208
Validate non-null arguments for public API 2022-11-30 18:16:37 +00:00
99c08f33ed
Use IReadOnlyList<T> instead of T[] for public API 2022-11-30 18:03:00 +00:00
17fa114a98
Add package metadata 2022-11-29 19:06:47 +00:00
20481a1bdd
Don't return arrays in public properties 2022-11-29 19:06:15 +00:00
4fb50c9e93
Multi-target .NET 6 and .NET 7 2022-11-29 15:46:13 +00:00
55512d6c8d
throw on null client 2022-11-29 15:15:02 +00:00
535f9fb9e8
Add Commands extension 2022-11-27 20:47:54 +00:00