ImageUsed = await ĪttributeError: 'Message' object has no attribute 'attachment' Ignoring exception in command setupwelcome:įile "/home/runner/WelcomeBot/venv/lib/python3.8/site-packages/discord/ext/commands/core.py", line 85, in wrapped If () = 'y':Īwait ctx.send("Upload the image you want to use:") WelcomeMessage = await client.wait_for("message")Īwait ctx.send("Do you want to include an image in your welcome message?")ĭecisionMessage = await client.wait_for("message") import discordĬlient = commands.Bot(command_prefix = help='Sets up the welcome message.')Īwait ctx.send("Enter welcome message here (If it is a multiline message, write the whole welcome message on a text editor and paste it on discord.") So, I have been trying to figure out how to download an attachment but I can't seem to figure out how.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |