AGuyNamedJens / FactorioChatBot

Two-Directional chat bot connecting Discord and Factorio chats together, written in nodejs.
MIT License
13 stars 9 forks source link

Rewrite & New features #5

Open AGuyNamedJens opened 2 years ago

AGuyNamedJens commented 2 years ago

This is a draft for new features within the FactorioChatBot Feel free to commit updates.

Features:

Mattie112 commented 2 years ago

Ah whoops I missed this! Feel free to close my MR in that case :)

mikhailmikhalchuk commented 2 years ago

Definitely willing to contribute to this. Noticed some of the content on my fork on the main, so I'm assuming it got some traction. Have we considered switching the main language to TypeScript?

AGuyNamedJens commented 2 years ago

@MikhailMCraft Hey, I never left this project behind, I just didn't get any new feature requests and i did indeed base some features and ideas from your fork.

I don't mind using typescript but wouldn't it make the "simple" bot, more advanced since building the TS files will be required?

I'm also considering automatic builds, which in this case would be the compiled files if we'll switch to typescript so the user won't have to compile everything on their own.

Let me know what you think.

mikhailmikhalchuk commented 2 years ago

Cool. In the future, it's prudent for both parties usually to approach the author of the fork when merging code upstream. I do not personally mind (and the license allows it regardless), but it is something to keep in mind.

TypeScript files do not have to be prebuilt and can just be built on runtime. There is virtually no change from JavaScript in terms of runtime building as it is around the same speed.

If there is a Discord server, or you have a Discord handle, I'd be more than glad to continue discussing this on there.

AGuyNamedJens commented 2 years ago

That's true. I might make a license change in the future to mention approaching the author when adding new features, would be a good idea to mention, wouldn't it?

Alright, in my own Discord bot project there's a huge difference between building and running directly, probably because it's larger than a 300-lined bot. We could indeed switch to typescript. Pre-builds would still probably be nice though.

I indeed have a discord server, feel free to join here