Giter Site home page Giter Site logo

BotConfig example about commandcenter HOT 5 OPEN

davechurchill avatar davechurchill commented on August 17, 2024 1
BotConfig example

from commandcenter.

Comments (5)

davechurchill avatar davechurchill commented on August 17, 2024

a. The reason I have the .txt extansion is because with UAlbertaBot when I had a .json file, I received a surprising number of emails / questions about what program you use to open it, etc. So I left it as a .txt file for it to be more obvious. The general computer / programming skill of many users is not that high.

b. I'll think about this, but again, people will skip some instructions, run the bot, and it will say that the config file is missing and ask questions about it. I agree with the principle of what you're saying, just not sure if this is the way I want to go about it

from commandcenter.

alkurbatov avatar alkurbatov commented on August 17, 2024

a. The reason I have the .txt extansion is because with UAlbertaBot when I had a .json file, I received a surprising number of emails / questions about what program you use to open it.

I see, thank you for clarifying this.

Regarding #b it just cause some inconvenience during dev, i.e. I have to cast:

$ git stash
$ git fetch
$ git merge upstream/master
$ git stash pop
# Resolve conflicts in the config.

Also I should be careful to not commit the config accidentally.

from commandcenter.

alkurbatov avatar alkurbatov commented on August 17, 2024

people will skip some instructions, run the bot, and it will say that the config file is missing and ask questions about it.

We can workaround it by searching BotConfig.txt first and BotConfig.example.txt next :) But I believe there should be a better solution.

Who are those people who use the bot? They checkout the sources or use something like .exe in an archive? For the latter it is possible to make special command (or script) which pack everything with proper names.

from commandcenter.

davechurchill avatar davechurchill commented on August 17, 2024

I agree with you that a change should be made, just gonna think for a while about how to do it

from commandcenter.

stolencatkarma avatar stolencatkarma commented on August 17, 2024

you could change it to BotConfig.example.txt and if there isn't one at runtime just rename the file to BotConfig.txt and continue. This let's new people just run it and have it work.

my 2 cents.

from commandcenter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.