lib/protonbot/chanop/commands.rb in protonbot-chanop-0.1.2 vs lib/protonbot/chanop/commands.rb in protonbot-chanop-0.1.3
- old
+ new
@@ -143,10 +143,11 @@
dat[:plug].kick(dat[:target], dat[:split][0], dat[:split][1..dat[:split].length].join(' '))
end
end
end.perm!('kick')
-core.help_add('chanop', 'remove', 'remove [chan] <target> [reason]')
+core.help_add('chanop', 'remove', 'remove [chan] <target> [reason]',
+ 'Removes target from this/given channel')
cmd(cmd: 'remove') do |dat|
case dat[:split].length
when 0
dat.nreply 'Not enough parameters!'
when 1
\ No newline at end of file