blob: b597530297bedc82f7d7f47363fdcc0ff78b7a57 (
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
|
# 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).
## 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!"
* account/admin auth by password? (hosts are not always stable)
* reminder
* admin: /msg bot bsay message => broadcast message to channels
* admin: /msg bot say #channel message => message to #channel
|