OTAL.DiscordBot
3.0.6
See the version list below for details.
dotnet add package OTAL.DiscordBot --version 3.0.6
NuGet\Install-Package OTAL.DiscordBot -Version 3.0.6
<PackageReference Include="OTAL.DiscordBot" Version="3.0.6" />
paket add OTAL.DiscordBot --version 3.0.6
#r "nuget: OTAL.DiscordBot, 3.0.6"
// Install OTAL.DiscordBot as a Cake Addin #addin nuget:?package=OTAL.DiscordBot&version=3.0.6 // Install OTAL.DiscordBot as a Cake Tool #tool nuget:?package=OTAL.DiscordBot&version=3.0.6
3.0.6
Fix an issue where event handlers cannot access a disposed object (again)
3.0.5
Fix an issue where event handlers cannot access a disposed object
3.0.4
Fix an issue where some cannot resolve scoped service from root provider
3.0.3
Removed OTALReflection - Using internal reflection to prevent DI issues
3.0.2
Fix where Commands was not registering
Fix where Modals are now found when executing them
3.0.1
Fix OTAL.DiscordBot.Common issue
3.0.0
Library Rework & Code cleanup
Wrapper implementation
RunAsync() → Removed
Removed IOTALDiscordBot Interface methods and moved to IOTALDiscordBotHelper
Removed Reflection, now using source generators
and many more!
2.2.3
OTALDiscordBot class is now public to allow wrapping
2.2.2
Fix an issue whre GetGuildAsync will cause an infinite loop
2.2.1
IOTALDiscordBot GetGuildAsync method added
TestGuild in AppSettings added
2.2.0
Fix a bug where only one job loads
Fix a bug where Job with Mediator DI will not be invoked
Fix a bug where GetComponents will error if no buttons was found\
Add GetRequired() in IOTALDiscordBotContext
2.1.0
AddOTALDiscordBot(config, assemblies) → AddOTALDiscordBot(config)
GetRequiredService<IOTALDiscordBot>() → UseOTALDiscordBotAsync()
run() → RunAsync()
IDiscordMessageUtility → IOTALDiscordBotHelper
MiddlewareContext → IOTALDiscordBotContext
IMiddlewareInteraction → IContext
To use Context → IContextInteraction
messages.json → IDiscordEmbedBuilder
EmbedFromJson → IOTALDiscordBotHelper.GetEmbed()
IButton → IButtonComponent
IMenu → IMenuComponent
IModal → IModalComponent
IOTALDiscordBot Guild has been removed
2.0.0
Complete rework on Package Notes coming soon...
1.5.0
Slash Commands now has AutoComplete
1.4.3
Middlewares can now be properties injected from Discord Interactions
1.4.2
Fixed an issue where commands will ignore cache
Implemented TestMode In DEBUG mode - PRESENCE_UPDATE no longer shows
1.4.1
Fixed an issue where IsDeferred property was not working correctly
Fixed an issue where IsEphemeral property was not working correctly
1.4.0
Fixed an issue where Jobs sometimes does things more than once due to Multiple Threading
Added a property that allows user to choose whether an interaction should be deferred or not
Added a property that allows user to hide responses in all interactions
Fixed an issue where Commands would not be removed correctly
Added Multiple methods on IOTALDiscordBot to be compatible with different environments
Added Guild property on IOTALDiscordBot for more efficient way on access Guild
1.3.0
Middleware implementation now capable to async/await
IntendedException now has 1 constuctor for logging otalbotcache.json location updated to Environment CurrentDirectory
1.2.0
MiddlewareContext Implemented
No more List<objects> middlewareObjects IMiddlewareCommand & IMiddlewareComponent replaced with IMiddlewareInteraction
All Interactions now uses Defer (RespondAsync no longer in use) Button Performance Improvement
1.1.2
Discord.Net updated to 3.9.0
Fixed an issue where Jobs was not working at all INFO log is given to inform users that jobs have been loaded in
1.1.1
Added Component Utility Fix an issue where commands with capital letters will not work correctly
Fix an issue where sometimes commands would not update correctly when changes are found
1.1.0
Performance Improvement Implement Jobs
Implement Auto Command Registration Minor Bug Fixes
1.0.2
Fixed an issue where some handlers will not Log correctly.
1.0.1
Fixed an issue where MediatR would not get Handlers correctly
Fixed an issue where Settings would not be updated
1.0.0
Initial Release
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- Castle.Core (>= 5.1.1)
- Discord.Net (>= 3.15.3)
- Discord.Net.WebSocket (>= 3.15.3)
- Hangfire.AspNetCore (>= 1.8.14)
- Hangfire.InMemory (>= 0.10.3)
- JsonFlatFileDataStore (>= 2.4.2)
- Longbow.Cronos (>= 1.0.0)
- MediatR (>= 12.4.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.1)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 8.0.0)
- Microsoft.Extensions.Options.DataAnnotations (>= 8.0.0)
- OTAL.DiscordBot.Common (>= 1.0.0)
- Serilog (>= 4.0.0)
- Serilog.AspNetCore (>= 8.0.1)
- Serilog.Sinks.Console (>= 6.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
3.0.8 | 120 | 8/11/2024 | |
3.0.7 | 100 | 7/26/2024 | |
3.0.6 | 95 | 7/26/2024 | |
3.0.5 | 88 | 7/26/2024 | |
3.0.4 | 84 | 7/26/2024 | |
3.0.3 | 79 | 7/26/2024 | |
3.0.2 | 87 | 7/24/2024 | |
3.0.1 | 127 | 5/10/2024 | |
3.0.0 | 126 | 5/10/2024 | |
2.2.3 | 124 | 5/3/2024 | |
2.2.2 | 324 | 2/4/2024 | |
2.2.1 | 123 | 2/4/2024 | |
2.2.0 | 245 | 11/13/2023 | |
2.1.0 | 144 | 11/11/2023 | |
2.0.0 | 181 | 10/5/2023 | |
1.5.0 | 273 | 7/22/2023 | |
1.4.3 | 235 | 5/20/2023 | |
1.4.2 | 300 | 4/16/2023 | |
1.4.1 | 295 | 3/30/2023 | |
1.4.0 | 227 | 3/30/2023 | |
1.3.0 | 361 | 3/3/2023 | |
1.2.0 | 292 | 2/25/2023 | |
1.1.2 | 285 | 2/23/2023 | |
1.1.1 | 354 | 1/25/2023 | |
1.1.0 | 349 | 1/11/2023 | |
1.0.2 | 407 | 12/5/2022 | |
1.0.1 | 393 | 12/4/2022 | |
1.0.0 | 362 | 12/3/2022 |