generate functionSun, 13 Nov 2022

Send D:\Flavour.txt via discord webhook.

def sendTxtViaDiscord(filePath, webhook): with open(filePath) as f: file = f.read() webhook.send(file) sendTxtViaDiscord(D:\Flavour.txt)

Questions about programming?Chat with your personal AI assistant