Update Plugin.GenServer to match the same pattern that Plugin.Supervisor does, remove Omnibot.Plugin

* using Plugin.GenServer now uses Plugin.Base so that is not required
* Remove Omnibot.Plugin because all it did was include Plugin.GenServer
  and Plugin.Base

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2020-07-11 16:01:57 -07:00
parent 9a8c6f2472
commit e2a746709d
7 changed files with 7 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
defmodule Omnibot.Plugin.GenServer do
defmacro __using__([]) do
quote do
alias Omnibot.Plugin
use Omnibot.Plugin.Base
use GenServer
def start_link(opts) do