'Is it possible to somehow define create_thread in PyCord
Hello I encountered the error 'Message' object has no attribute 'create_thread' Code:
@commands.command()
async def sugesstion(self, ctx, *,sugestia):
await ctx.message.delete()
embed = discord.Embed(colour = 0xFFA500)
embed.set_author(name=f' {ctx.message.author}', icon_url = f'{ctx.author.avatar_url}')
embed.add_field(name = 'Member,', value = f'{sugestia}')
embed.set_footer(text="Apples")
msg = await ctx.send(embed=embed)
await msg.add_reaction('✔️')
await msg.add_reaction('➖')
await msg.create_thread(name="Comments", auto_archive_duration=MAX)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
