Add activity change
This commit is contained in:
@@ -3,6 +3,6 @@ from sugar.simulator import Bot
|
||||
bot = Bot()
|
||||
bot.name = 'chaitanya'
|
||||
|
||||
bot.share_chat('All About Giraffes')
|
||||
bot.share_chat('giraffes', 'All About Giraffes')
|
||||
|
||||
bot.start()
|
||||
|
||||
@@ -2,4 +2,8 @@ from sugar.simulator import Bot
|
||||
|
||||
for i in range(0, 10):
|
||||
bot = Bot()
|
||||
|
||||
bot.wait(5)
|
||||
bot.change_activity('giraffes')
|
||||
|
||||
bot.start()
|
||||
|
||||
@@ -3,7 +3,6 @@ from sugar.simulator import Bot
|
||||
bot = Bot()
|
||||
bot.name = 'penelope'
|
||||
|
||||
bot.wait(20)
|
||||
bot.share_chat('Nekkhamma')
|
||||
bot.share_chat('nekkhamma', 'Nekkhamma')
|
||||
|
||||
bot.start()
|
||||
|
||||
Reference in New Issue
Block a user