aherd2985 / UtilityBelt

Fun console application
https://technoherder.com/gitOpenSource.php
18 stars 36 forks source link

Discord? #86

Open Alex-451 opened 4 years ago

Alex-451 commented 4 years ago

Wouldnt it be nice to make this program a discord bot?

Right now this program is not really meant for "regular" users so wouldnt it be nice to turn this into a discord bot so more people can use what we have developed?

1RedOne commented 4 years ago

See this functionality under Utilities\DiscordSender.cs

aherd2985 commented 4 years ago

If you want to go a different route than webhooks, you may be able to implement something like this:

https://docs.stillu.cc/guides/getting_started/first-bot.html

If we had something like that, we could tie it to an AI and create a chat or QnA bot:

https://www.qnamaker.ai/

Alex-451 commented 4 years ago

Yeah that was exactly what i was thinking about, do you think it would be a good idea to rewrite the program and make it a propper discord bot?

aherd2985 commented 4 years ago

Could the new bot be created as a utility and built out on its own?

Trying to keep this as an open playground that anyone can add to.

Alex-451 commented 4 years ago

We could make a "main project" which contains all the discord related stuff and then a "module" project which contains all the commands and functionallity. That would still allowe people to easily add new module / functions.

What do you think about that?

ArturLavrov commented 4 years ago

@AlexGipp I think that we could combine both approaches. From my perspective we could slightly reorganise solution with a following structure:

This layer will contains all main thing. For instance logging, how we load utilities and so on. Also core utils could lives here.

This will be good old console app with existing command line interface.

Will be your implementation of app functionality for Discord

What do you think about?

Alex-451 commented 4 years ago

the thing is that all the modules dont return a string for example, they all Console Writeline so we would definetly rewrite those a bit @ArturLavrov

Alex-451 commented 4 years ago

@aherd2985 i think the smartest thing would be to just create a second branch for the rework

aherd2985 commented 4 years ago

Great idea @ArturLavrov

That approach would be more scalable and keep the spirit of it being open-ended.

I'd like this repo to have a solid foundation that encourages modular building. Hopefully we can keep it easy for contributors but also versatile enough to support growth in any direction.