Commit graph

7 commits

Author SHA1 Message Date
Elijah Lazkani
39ea93c632 PEP8 and various other fixes. 2017-09-10 21:35:38 -04:00
Elijah Lazkani
b464d07340 Merge branch 'Features' into 'master'
Added a semi-sane logging system across the board.

See merge request !1
2017-09-10 18:30:18 +00:00
Elijah Lazkani
6f72c3b73c Added a semi-sane logging system across the board. 2017-09-10 14:29:01 -04:00
Elijah Lazkani
7381fd8ad3 Cleaning a few debugging lines that are no longer useful 2017-09-10 09:28:29 -04:00
Elijah Lazkani
75993f0d1a A few changes from the last commit again that add great features
* Now list of administrators is saved to drive for the bot to
  load again on next start
* Administrators now have levels and default behaviours, for more
  info read the `README`
* For security purposes, now the passwords are hashed and handled as
  hashes
* Added the ability for the administrators to change their own
  password
2017-09-09 20:30:14 -04:00
Elijah Lazkani
1e2cf95bee Changes of behaviour of how the Admin plugin handles the events
This is a big commit:
- Now the Admin class will not take any action only triggers an ADMIN event that can be consumed later by AdminCmd
- AdminCmd now handles the commands allowed to the admins in a sane and clean way by consuming ADMIN events
- Fixed the way the code exits, now it exits the loop cleanly everytime
- Added a lot of functions to the Admin class which allows adding and removing administrators on the fly
- Added a list of functions that will reply back a help page to the user
2017-09-09 00:29:55 -04:00
Elijah Lazkani
7f259bac35 Second commit:
* Adding an 8ball game
* Adding an admin manager
* Creating the bot shell
2017-09-06 20:39:32 -04:00