Traceback (most recent call last):


 "C:\Users\abrar\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\core.py", line 79, in wrapped

ret = await coro(*args, **kwargs)


 "F:\Abirul\Bot\Python Bot\bot.py", line 17, in clear

async for message in client.logs_from(channel,limit=init(amount)):
AttributeError: 'Bot' object has no attribute 'logs_from'

Traceback (most recent call last):


 "/Users/sergey/miniconda/envs/py385/lib/python3.8/multiprocessing/resource_tracker.py", line 191, in main

cmd, name, rtype = line.strip().decode('ascii').split(':')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd1 in position 0: ordinal not in range(128)
