Added question to see if user wants to set user/ident

This commit is contained in:
Jeremy Fincher 2003-03-31 09:27:45 +00:00
parent 2ce7729916
commit 4c3944dde2

View File

@ -81,6 +81,11 @@ if __name__ == '__main__':
configfd.write('Server: %s\n' % server)
nick = anything('What nick would you like the bot to use?')
configfd.write('Nick: %s\n' % nick)
if ny('Would you like to set a user/ident?') == 'y':
user = anything('What user would you like the bot to use?')
configfd.write('User: %s\n' % user)
ident = anything('What ident would you like the bot to use?')
configfd.write('Ident: %s\n' % ident)
configfd.write('\n')
configfd.write('load AdminCommands\n')
configfd.write('load UserCommands\n')