summaryrefslogtreecommitdiff
path: root/README.md
blob: ea43e79ec16323dfbc19b8b404d0442bcc5e2a37 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# ircbot

Some stupid and badly coded IRC bot. Can be spotted as "bavaria" on irc.random.sh, but is multi-connections and also elsewhere (poor channels).

## Dependencies

* Erlang and Elixir (OTP24+) to build a release.
* (Optional) Python 3 for: 
  * link plugin: pdftitle: `pip install pdftitle`
  * txt plugin: markov: `pip install markovify`

## Development

To start your Phoenix server:

  * Install dependencies with `mix deps.get`
  * Start Phoenix endpoint with `mix phx.server`

Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.

Ready to run in production? Please [check our deployment guides](http://www.phoenixframework.org/docs/deployment).

## Production

Build a release using `MIX_ENV=prod mix release`.

# bot

## ideas

* logger
* rate limiting
  only allow x/messages per x/period
  ignore user for exponential values
  notice user "Enhance Your Calm!"
* duck games
* markov txt
  * markov par txt
  * markov global
* log to dets
  * !seen
  * !grab
* 420 counter
* kick roulette
  * counts ("won" and "lost")
  * !kickrandom (+ counts)
  * ?
* partyline en pv
  * partyline! pour join la PL
  * parler en query <=> broadcast a tout les personnes qui ont "partyline!"
* reminder