mirror of
https://github.com/reality/dbot.git
synced 2025-01-11 12:32:36 +01:00
clean [#261] up enough for 0.4
This commit is contained in:
parent
53b7bbe5a8
commit
28825fd22b
@ -39,41 +39,6 @@ var commands = function(dbot) {
|
||||
}));
|
||||
},
|
||||
|
||||
/*'~cquiet': function(event) {
|
||||
var server = event.server,
|
||||
quieter = event.user,
|
||||
quietee = event.input[2],
|
||||
channel = event.input[1],
|
||||
reason = event.input[3];
|
||||
|
||||
this.api.quiet(server, quietee, channel);
|
||||
|
||||
dbot.api.report(server, channel, dbot.t('cquieted', {
|
||||
'quieter': quieter,
|
||||
'quietee': quietee,
|
||||
'channel': channel,
|
||||
'reason': reason
|
||||
}));
|
||||
},
|
||||
|
||||
'~nquiet': function(event) {
|
||||
var server = event.server,
|
||||
quieter = event.user,
|
||||
quietee = event.input[1],
|
||||
channels = dbot.config.servers[server].channels,
|
||||
reason = event.input[2];
|
||||
|
||||
_.each(channels, function(channel) {
|
||||
this.api.quiet(server, quietee, channel);
|
||||
}, this);
|
||||
|
||||
dbot.api.report(server, channel, dbot.t('nquieted', {
|
||||
'quieter': quieter,
|
||||
'quietee': quietee,
|
||||
'reason': reason
|
||||
}));
|
||||
},*/
|
||||
|
||||
// Kick and ban from all channels on the network.
|
||||
'~nban': function(event) {
|
||||
var server = event.server,
|
||||
|
@ -10,12 +10,14 @@
|
||||
"en": "Thou shalt not kick {botname}",
|
||||
"es": "No expulsás {botname}",
|
||||
"na'vi": "Ngal {botname}it ke tsun tsrive'i",
|
||||
"cy": "Ni ddylech cicio {botname}"
|
||||
"cy": "Ni ddylech cicio {botname}",
|
||||
"nl": "Gij zult {botname} niet kicken"
|
||||
},
|
||||
"ckicked": {
|
||||
"en": "Attention: {kicker} has kicked {kickee} from {channel}. The reason given was: \"{reason}.\"",
|
||||
"cy": "Ni ddylech cicio {botname}",
|
||||
"nl": "Gij zult {botname} niet kicken"
|
||||
},
|
||||
"cbanned": {
|
||||
"en": "Attention: {banner} has banned {banee} from {channel}. The reason given was \"{reason}.\""
|
||||
},
|
||||
"nbanned": {
|
||||
"en": "Attention: {banner} has banned {banee} network-wide. The reason given was \"{reason}.\""
|
||||
|
Loading…
Reference in New Issue
Block a user