Closed mvarendorff closed 7 years ago
LGTM. @Unihedro you got any changes you want to see?
I hope, I got the permission thing correctly. I was unsure whether to use static methods or create an Object with the BotConfig as field so I went with the static approach first. If this should be changed I can do so.
No idea what went on there... Thanks for the hawk eye!
:+1: LGTM and the technical debt seems small enough; did not test
closes #37
hmm ... okay GH can't quite keep up ...
@geisterfurz007 would you please move the commits after "corrected add to add and remove to remove" into a new pull request so that they can be properly reviewed? Thanks :+1:
I am afraid that it seems like I need some assistance with that... I tried to revert the changes of the last commits, but that did not work out. Or can I just move the commits over to a new PR? I am fairly new to git and not familiar with the things to do, sorry.
@geisterfurz007 no worries.
The following "dark magical rites of git" should help you:
git checkout master
git remote add blessed git@github.com:Unihedro/JavaBot.git
git fetch blessed
git rebase blessed/master
git push --force
let me explain a little what happens here.
if you have any questions, feel invited to ping me 👍
@Vogel612 Ok so if I understand correctly I used the master branch of this project to rever the changes on the master branch of my fork? So next thing to do would be creating a new pull request with the branch I worked on as the one to compare?
@geisterfurz007 well ... not quite, but it's close enough.
Yes, usually you'd not make a pull request from master to master, but .. since you already worked on your master this is the simplest way to fix things up :)
I recommend you create topic branches from now on and sync your master with Unihedro/JavaBot:master
regularly to reduce merge-conflicts.
FWIW I took the liberty to open the follow-up pull request for you
@Vogel612 Well if it was close enough I will take that for now! I had that in mind, but somewhere I lost it appearently... Thanks for opening!
Summon, Unsummon and Shutdown are now only accessbile for defined userid's. Userid's that have access to those commands can be specified in the properties file using ADMINS as well as during runtime using commands addAdmin and removeAdmin. Changes are saved for later instances of the bot.
Note: Don't worry about the strange name there; messed up something as I pushed the commit from eclipse...
closes #37