Пример #1
0
 def executeCmd(self, *args):
     r2d2.say("Alla vamos")
     r2d2.playSound("Sounds/Jump to lightspeed.wav")
Пример #2
0
    def executeCmd(self, *args):

        print("playing el himnito de españita")
        r2d2.playSound('Sounds/HimnodeEspana.wav')
Пример #3
0
 def executeCmd(self, *args):
     r2d2.playSound("Sounds/GeneralKenobi.wav")
Пример #4
0
 def executeCmd(self, *args):
     randomSound = random.choice(["Sounds/Upset TwoTone.wav","Sounds/Abrupt Burst.wav"])
     r2d2.playSound(randomSound)
 def executeCmd(self, *args):
     r2d2.playSound("Sounds/Cantina band.wav")
Пример #6
0
def audio_handler(update, context):
    file = context.bot.getFile(update.message.audio.file_id)
    r2d2.turnLed("red")
    r2d2.turnLed("blue")
    file.download("./sound.wav")
    r2d2.playSound("sound.wav")
Пример #7
0
 def executeCmd(self, *args):
     r2d2.playSound("Sounds/Happy Confirmation.wav")