Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

213 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An IRC bot, built in Erlang. IRC бот, на Erlang

Конфигурация:

!c <выражение> [, <выражение> [, <выражение [...]]]
<выражение> либо <путь> или <путь> = <значение>, в синтаксисе Erlang; пути это списки.

Например, чтобы поручить боту присоединиться к списку каналов при запуске:
!c [bot,channels] = ["#channel", "#otherchannel", "#thirdchannel"]

Запуск бота:

В папке бота пропишите: start_bot.cmd

Запуск через BASH:

1> c(loader).
{ok,loader}.
2> loader:load().
[compilation output]
ok

followed by EITHER of

  • 3> common:start() to use the server address/port/transport mode in the config file
  • 3> common:start(Server, Transport, Port) to provide these values and skip the configuration. Server and Port will be passed to the Transport:connect() call unchanged. Transport should either be the atom ssl, the atom gen_tcp, or the name of any module which is API-compatible with gen_tcp and sends messages of the same format as either ssl or gen_tcp.

Licensing

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

Discord<->IRC bridge bot, written in Go (original code https://github.com/GinjaNinja32/bot32)

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages