How to implement event handler in a separate file and attach it by using dependency injection?

前端 未结 0 1193
萌比男神i
萌比男神i 2020-12-12 16:26

I\'m using Discord.Net to create a C# Discord bot. My application is using Dependency Injection and in the Program.cs file I have access to the singleton instance of D

相关标签:
回答
  • 消灭零回复
提交回复
热议问题