Answer the question
In order to leave comments, you need to log in
How to send a message as a discord bot?
@tasks.loop(seconds=1.0)
async def printer():
channel = client.get_channel(778145298672779324)
await channel.send('@everyone до конца КД осталось меньше 5 минут!')
printer.start()
AttributeError: 'NoneType' object has no attribute 'send'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question