]>
Commit | Line | Data |
---|---|---|
b069ba10 JR |
1 | from classes import * |
2 | from util import * | |
3 | ||
4 | name = 'quit' | |
5 | def init(cache): | |
6 | cache.currmod = __name__ | |
7 | cache.hookcmd('DIE', 8, die, 0, helpdie, isadmin=True) | |
8 | def deinit(cache, reloading=False): | |
9 | cache.currmod = __name__ | |
10 | cache.unhookcmd('DIE') | |
11 | ||
12 | def die(nick, target, params, bot, cache): | |
13 | return "QUIT" | |
14 | ||
15 | def helpdie(): return ['DIE', 'Kills the bots.'] |