|
|
@ -15,7 +15,7 @@ if version == 'A' or 'a':
|
|
|
|
print('Owner ID?')
|
|
|
|
print('Owner ID?')
|
|
|
|
ownerID = input()
|
|
|
|
ownerID = input()
|
|
|
|
|
|
|
|
|
|
|
|
data = {'token': token, 'prefix': prefix, 'ownerID': ownerID}
|
|
|
|
data = {'token': token, 'prefix': [ prefix ], 'ownerID': ownerID}
|
|
|
|
with open("config.json", "w") as outfile:
|
|
|
|
with open("config.json", "w") as outfile:
|
|
|
|
json.dump(data, outfile)
|
|
|
|
json.dump(data, outfile)
|
|
|
|
quit()
|
|
|
|
quit()
|
|
|
@ -38,7 +38,7 @@ if version == 'B' or 'b':
|
|
|
|
print('Channel ID for where the feedback will go')
|
|
|
|
print('Channel ID for where the feedback will go')
|
|
|
|
feedbackChannel = input()
|
|
|
|
feedbackChannel = input()
|
|
|
|
|
|
|
|
|
|
|
|
data = {'token': token, 'prefix': prefix, 'ownerID': ownerID, 'botID': botID, 'statsChannel': statsChannel, 'supportServer': supportServer, 'feedbackChannel': feedbackChannel}
|
|
|
|
data = {'token': token, 'prefix': [ prefix ], 'ownerID': ownerID, 'botID': botID, 'statsChannel': statsChannel, 'supportServer': supportServer, 'feedbackChannel': feedbackChannel}
|
|
|
|
with open("config.json", "w") as outfile:
|
|
|
|
with open("config.json", "w") as outfile:
|
|
|
|
json.dump(data, outfile)
|
|
|
|
json.dump(data, outfile)
|
|
|
|
quit()
|
|
|
|
quit()
|
|
|
@ -78,7 +78,7 @@ if version == 'C' or 'c':
|
|
|
|
twiTokenSecret = input()
|
|
|
|
twiTokenSecret = input()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
data = {'token': token, 'prefix': prefix, 'ownerID': ownerID, 'botID': botID, 'statsChannel': statsChannel, 'supportServer': supportServer, 'feedbackChannel': feedbackChannel, 'fbuser': fbuser, 'fbpasswd': fbpasswd, 'yandexAPI': yandexAPI, 'acoustID': acoustID, 'twiConsumer': twiConsumer, 'twiConsumerSecret': twiConsumerSecret, 'twiToken': twiToken, 'twiTokenSecret': twiTokenSecret}
|
|
|
|
data = {'token': token, 'prefix': [ prefix ], 'ownerID': ownerID, 'botID': botID, 'statsChannel': statsChannel, 'supportServer': supportServer, 'feedbackChannel': feedbackChannel, 'fbuser': fbuser, 'fbpasswd': fbpasswd, 'yandexAPI': yandexAPI, 'acoustID': acoustID, 'twiConsumer': twiConsumer, 'twiConsumerSecret': twiConsumerSecret, 'twiToken': twiToken, 'twiTokenSecret': twiTokenSecret}
|
|
|
|
with open("config.json", "w") as outfile:
|
|
|
|
with open("config.json", "w") as outfile:
|
|
|
|
json.dump(data, outfile)
|
|
|
|
json.dump(data, outfile)
|
|
|
|
quit()
|
|
|
|
quit()
|
|
|
|