lewster32 / corporallancot

A Discord bot primarily for recording, searching and retrieving notes and quotes
MIT License
1 stars 2 forks source link

Add HelpActionHandler back into the !help output #16

Open Bidthedog opened 4 years ago

Bidthedog commented 4 years ago

It was removed due to a cyclic dependency on itself. We need to figure out a way to handle the listing of all action help messages better.

Bidthedog commented 4 years ago

The HelpActionHandler needs to return text based on the server that the handler is being executed via. This makes this a little more complex than previous.

Might be worth discarding the HelpActionHandler entirely and hard-coding the help into each chat listener accordingly (maybe with a base helper class). This solution does get around the recursive DI issue.