mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-26 13:01:06 -05: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(anything('What command?'))
|
||||||
configfd.write('\n')
|
configfd.write('\n')
|
||||||
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 ' \
|
postConnect = 'Would you like any commands to run ' \
|
||||||
'when the bot is finished connecting to the server?'
|
'when the bot is finished connecting to the server?'
|
||||||
while yn(postConnect) == 'y':
|
while yn(postConnect) == 'y':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user