Compare commits
2 Commits
42ea503b27
...
835079d42b
Author | SHA1 | Date |
---|---|---|
Rachel Fae Fox | 835079d42b | |
Rachel Fae Fox | 0456741651 |
13
README.md
13
README.md
|
@ -32,7 +32,14 @@ config :nostrum,
|
|||
num_shards: :auto
|
||||
```
|
||||
|
||||
Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
|
||||
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
|
||||
be found at [https://hexdocs.pm/discordirc](https://hexdocs.pm/discordirc).
|
||||
## Running
|
||||
This is still in heavy development so i haven't handled running it as
|
||||
a release or anything special like that you can still run it with iex.
|
||||
|
||||
```shell
|
||||
$ iex -S mix
|
||||
```
|
||||
|
||||
This does have advantages, for example, if you need to upgrade your
|
||||
bot you can just type `recompile` and update it without restarting.
|
||||
|
||||
|
|
|
@ -138,6 +138,15 @@ defmodule Discordirc.IRC do
|
|||
{:noreply, state}
|
||||
end
|
||||
|
||||
def handle_info({:discord_cmd, :kick, users}) do
|
||||
end
|
||||
def handle_info({:discord_cmd, :ban, users}) do
|
||||
end
|
||||
def handle_info({:discord_cmd, :mode, modestr}) do
|
||||
end
|
||||
def handle_info({:discord_cmd, :topic, topic}) do
|
||||
end
|
||||
|
||||
def handle_info({:connected, server, port}, state) do
|
||||
Logger.debug("Connected to #{server}:#{port}")
|
||||
Logger.debug("Logging to #{server}:#{port} as #{state.nick}..")
|
||||
|
|
Loading…
Reference in New Issue