mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Added question to see if user wants to set user/ident
This commit is contained in:
parent
2ce7729916
commit
4c3944dde2
@ -81,6 +81,11 @@ if __name__ == '__main__':
|
|||||||
configfd.write('Server: %s\n' % server)
|
configfd.write('Server: %s\n' % server)
|
||||||
nick = anything('What nick would you like the bot to use?')
|
nick = anything('What nick would you like the bot to use?')
|
||||||
configfd.write('Nick: %s\n' % nick)
|
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('\n')
|
||||||
configfd.write('load AdminCommands\n')
|
configfd.write('load AdminCommands\n')
|
||||||
configfd.write('load UserCommands\n')
|
configfd.write('load UserCommands\n')
|
||||||
|
Loading…
Reference in New Issue
Block a user