mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 10:18:27 -04:00
Using generic attributes for NadekoOptions now. Updated packages
This commit is contained in:
@@ -30,7 +30,7 @@ public partial class Games
|
||||
[Cmd]
|
||||
[RequireContext(ContextType.Guild)]
|
||||
[Priority(0)]
|
||||
[NadekoOptions(typeof(TriviaOptions))]
|
||||
[NadekoOptions<TriviaOptions>]
|
||||
public async Task Trivia(params string[] args)
|
||||
{
|
||||
var (opts, _) = OptionsParser.ParseFrom(new TriviaOptions(), args);
|
||||
|
Reference in New Issue
Block a user