You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
try:
# Create a QrCode with that accessTokenqrCodePath=f"QRCode_{message.author.id}_{str(uuid.uuid4())[0:8]}.png"qrcode.make(accessToken).save(qrCodePath)
# Send the QrCode the the user who asked forawaitmessage.author.send(
"------------------------------------------------\n\n\nHello "+message.author.name+"\nHere is your new QR Code to login : ")
awaitmessage.author.send(file=discord.File(qrCodePath))
os.remove(qrCodePath)
returnexcept:
awaitmessage.reply("Seems you have turned off private messages. Please activate them in the discord privacy settings!")
The text was updated successfully, but these errors were encountered:
Sup, here a quick fix
The text was updated successfully, but these errors were encountered: