Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 5e6835bae6
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (13 sloc) 0.739 kb
-define(VERSION, <<"http://github.com/gdamjan/erlang-irc-bot">>).
-define(REALNAME, <<"An experimental Erlang IRC bot">>).
-define(QUITMSG, <<"I can feel it, my mind is going...">>).
-define(SECOND, 1000).
-define(MINUTE, 60 * 1000).
-define(RECV_TIMEOUT, 3 * ?MINUTE).
-define(SEND_TIMEOUT, 10 * ?SECOND).
-define(CONNECT_TIMEOUT, 5 * ?SECOND). % wait for dns
-define(REGISTER_TIMEOUT, 30 * ?SECOND). % wait for register on irc
-define(RECONNECT_DELAY, 15 * ?SECOND). % fast reconnect
-define(BACKOFF_DELAY, 15 * ?SECOND). % backoff reconnect 15s base,
% delay of 0, 5, 20, 45, 80, 125
-define(NICK_SUFFIX, <<"_">>). % append suffix to nickname if nick is in use
Jump to Line
Something went wrong with that request. Please try again.