From 74a43424bdbea6f0b033ba92fdb86b615cf4f42d Mon Sep 17 00:00:00 2001 From: Cool Fire Date: Tue, 19 Mar 2019 09:18:35 +0100 Subject: [PATCH] Update info command and include link to ports subcommand --- plugins/shells.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/shells.rb b/plugins/shells.rb index 56ab1cd..af05e22 100644 --- a/plugins/shells.rb +++ b/plugins/shells.rb @@ -83,10 +83,11 @@ class Shells when /^git/i info = [ "https://git.insomnia247.nl", "No shell account is required to sign up here." ] - when /^learnix/i - info = [ "Learnix shells: http://dams.insomnia247.nl/Public/Learnix.html" ] + when /^ports?/i + ports( nick, user, host, from, msg, arguments, con ) + return else - info = [ "Available options: Main, FAQ, Rules, Shell, Invite, Good, Bad, Learning, suwww, Heartbeat, Git, Learnix" ] + info = [ "Available options: Main, FAQ, Rules, Shell, Invite, Good, Bad, Learning, suwww, Heartbeat, Git, Ports" ] end printhelp( from, con, info ) end -- GitLab