Discord.py; нахождение сообщения через метод fetch_message
Есть такой код:
import discord
from discord.ext import commands
...
...
@bot.command()
async def appreq(ctx, idd):
if ctx.channel.id==707936942473347155:
channel = bot.get_channel(708432490053894224)
await ctx.channel.send(content=idd)
await channel.fetch_message(idd).channel.send(content=str(channel.fetch_message(idd).author.mention)+", Hello")
Но при обработке идет ответ:
AttributeError: 'coroutine' object has no attribute 'channel'
Однако в документации к этому методу сказано, что он выводит данные типа 'message', а у данных типа 'message' есть аттрибут 'channel' и 'author'