Added autoinstall for modules
This commit is contained in:
16
DiscordBotCore/Others/Exceptions/ModuleNotFoundException.cs
Normal file
16
DiscordBotCore/Others/Exceptions/ModuleNotFoundException.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DiscordBotCore.Others.Exceptions
|
||||
{
|
||||
internal class ModuleNotFoundException<T> : Exception
|
||||
{
|
||||
private Type _type = typeof(T);
|
||||
public ModuleNotFoundException() : base($"No module loaded with this signature: {typeof(T)}")
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user