Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discord? #86

Open
Alex-451 opened this issue Oct 11, 2020 · 9 comments
Open

Discord? #86

Alex-451 opened this issue Oct 11, 2020 · 9 comments

Comments

@Alex-451
Copy link

Alex-451 commented Oct 11, 2020

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
Copy link
Contributor

1RedOne commented Oct 11, 2020

See this functionality under Utilities\DiscordSender.cs

@aherd2985
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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
Copy link
Author

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
Copy link
Contributor

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

  • UtilityBelt.Core

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

  • UtilityBelt.Console

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

  • UtilityBelt.DiscordBot

Will be your implementation of app functionality for Discord

What do you think about?

@Alex-451
Copy link
Author

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
Copy link
Author

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

@aherd2985
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants