From fc1b9f8cdbf6851a4a1d2822220b0d92c92702e0 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 28 Mar 2003 08:25:34 +0000 Subject: [PATCH] Added question to ask if the user wants the bot to join any channels --- scripts/setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/setup.py b/scripts/setup.py index d50679f9e..e4037bc22 100644 --- a/scripts/setup.py +++ b/scripts/setup.py @@ -117,6 +117,9 @@ if __name__ == '__main__': configfd.write(anything('What command?')) configfd.write('\n') configfd.write('\n') + if yn('Do you want the bot to join any channels?') == 'y': + channels = anything('What channels? (separate channels by spaces)') + configfd.write('join %s\n' % channels) postConnect = 'Would you like any commands to run ' \ 'when the bot is finished connecting to the server?' while yn(postConnect) == 'y':