mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28: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:
@@ -8,7 +8,7 @@ public partial class Medusa : NadekoModule<IMedusaLoaderService>
|
||||
{
|
||||
[Cmd]
|
||||
[OwnerOnly]
|
||||
public async partial Task MedusaLoad(string? name = null)
|
||||
public async Task MedusaLoad(string? name = null)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(name))
|
||||
{
|
||||
@@ -60,7 +60,7 @@ public partial class Medusa : NadekoModule<IMedusaLoaderService>
|
||||
|
||||
[Cmd]
|
||||
[OwnerOnly]
|
||||
public async partial Task MedusaUnload(string? name = null)
|
||||
public async Task MedusaUnload(string? name = null)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(name))
|
||||
{
|
||||
@@ -98,7 +98,7 @@ public partial class Medusa : NadekoModule<IMedusaLoaderService>
|
||||
|
||||
[Cmd]
|
||||
[OwnerOnly]
|
||||
public async partial Task MedusaList()
|
||||
public async Task MedusaList()
|
||||
{
|
||||
var all = _service.GetAllMedusae();
|
||||
|
||||
@@ -132,7 +132,7 @@ public partial class Medusa : NadekoModule<IMedusaLoaderService>
|
||||
|
||||
[Cmd]
|
||||
[OwnerOnly]
|
||||
public async partial Task MedusaInfo(string? name = null)
|
||||
public async Task MedusaInfo(string? name = null)
|
||||
{
|
||||
var medusae = _service.GetLoadedMedusae();
|
||||
|
||||
|
Reference in New Issue
Block a user