Logo
Explore Help
Sign In
intercal/omnibot
1
0
Fork 0
You've already forked omnibot
Code Issues Pull Requests Releases Wiki Activity
Files
9a8c6f2472ec4c741b3914970e998af5200ca315
omnibot/lib/plugin/plugin.ex

9 lines
152 B
Elixir
Raw Normal View History

Add lib/plugin that was removed in the last commit, whoops Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2020-07-02 18:23:55 -07:00
defmodule Omnibot.Plugin do
defmacro __using__([]) do
quote do
use Omnibot.Plugin.Base
Remove Plugin.Agent, replace everywhere with Plugin.GenServer Being able to handle arbitrary messages from other processes is a generally useful thing to have for fine-grained control of the plugin. Agents don't provide that, while GenServers do. I've removed all instances of the Agent and replaced it with the GenServer and everything appears fine so far. Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2020-07-06 17:12:35 -07:00
use Omnibot.Plugin.GenServer
Add lib/plugin that was removed in the last commit, whoops Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2020-07-02 18:23:55 -07:00
end
end
end
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 96ms Template: 8ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API