Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Made the dependency injection process smarter #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ModixAssistant/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ static async Task Main(string[] args)

client.Log += LogHelper.Log;

//AI dependency injection
// Smart AI dependency injection
var type = Assembly.GetExecutingAssembly()
.GetTypes()
.FirstOrDefault(d => typeof(IBot).IsAssignableFrom(d));
Expand Down