Commit graph

16 commits

Author SHA1 Message Date
Elijah Lazkani
a3cd1fceb0 Adding usermode and channelmode capabilities with extra !mode, !op and !deop commands. 2018-03-17 10:44:21 -04:00
Elijah Lazkani
bf76c3327c * Refactoring code
* No longer using kwargs to send data, it is all parametrized now
* API calls to msg, action, join, part, quit have been parametrized
* New API call to notice
2018-03-03 12:47:20 -05:00
Elijah Lazkani
626dc04a18 Refactoring code into a new private async _wait() function 2018-02-26 18:09:35 -05:00
Elijah Lazkani
86111fb8ce Implementing a buffering system for flood protection 2018-02-24 23:40:44 -05:00
Elijah Lazkani
7da5650153 Adding the ability to inject functions to be ran prior to the Bot joining channels
* PEP8 compliance changes in formatting
* multiple bugfixes
* fixing documentation
2017-09-22 23:35:28 -04:00
Elijah Lazkani
c416ac14b8 Moving requirements to its down directory 2017-09-22 23:20:13 -04:00
Elijah Lazkani
2072e53144 This change introduces better logging for the bot
You can configure the logging system by configuring config/logging.yaml
2017-09-16 12:05:41 -04:00
Elijah Lazkani
51312c9e28 HOTFIX: Admins can now remove other admins
Description:
found a bug in the code that prevents anyone from removing anyone
else due to unawaited function call
2017-09-16 09:26:19 -04:00
Elijah Lazkani
2b1dc33e47 Adding a MSG and ACTION commands 2017-09-10 23:55:34 -04:00
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