mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-10 20:22:36 +01:00
Added question to ask if the user wants the bot to join any channels
This commit is contained in:
parent
6859415bc5
commit
fc1b9f8cdb
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user