Fixed some warnings

This commit is contained in:
2023-06-25 21:35:53 +03:00
parent 970c519a32
commit 3ab96e2d0d
4 changed files with 6 additions and 8 deletions

View File

@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using PluginManager.Interfaces;
using PluginManager.Loaders;

View File

@@ -21,6 +21,7 @@ namespace DiscordBot
string assemblyPath = Path.Combine(folderPath, new AssemblyName(args.Name).Name + ".dll");
if (!File.Exists(assemblyPath)) return null;
Assembly assembly = Assembly.LoadFrom(assemblyPath);
return assembly;
}