Commit Graph

55 Commits

Author SHA1 Message Date
5f251d22ce Remove IO.inspect that was included in the last commit
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2020-06-13 15:22:12 -04:00
ed22d1bf0f Update modules to be more egonomic, add command macro
Modules are now defined using on_{msg,channel_msg,join,part,kick}.
Additionally, commands can be defined using a convenient macro.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2020-06-13 15:20:00 -04:00
afd8f8c667 Comment out module_paths in example omnibot config
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2020-06-12 18:25:42 -04:00
e2e7ae22b8 Add Omnibot.Module
Modules can easily be defined with `use Omnibot.Module`.
Omnibot.Contrib.Fortune has been updated to use this.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2020-06-12 18:24:11 -04:00
6340936895 Initial commit with IRC and bot example.
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2020-06-12 17:29:35 -04:00