mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 02:08:27 -04:00
Removed cmd source generator. Commands are no longer partial methods. Compilations should be slightly faster now. Updated packages and adapted drawing code to the new apis. There may be some bugs.
This commit is contained in:
@@ -16,7 +16,7 @@ public partial class Searches
|
||||
|
||||
[Cmd]
|
||||
[Priority(0)]
|
||||
public async partial Task Xkcd(string arg = null)
|
||||
public async Task Xkcd(string arg = null)
|
||||
{
|
||||
if (arg?.ToLowerInvariant().Trim() == "latest")
|
||||
{
|
||||
@@ -50,7 +50,7 @@ public partial class Searches
|
||||
|
||||
[Cmd]
|
||||
[Priority(1)]
|
||||
public async partial Task Xkcd(int num)
|
||||
public async Task Xkcd(int num)
|
||||
{
|
||||
if (num < 1)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user