Traceback (most recent call last):


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/discord/ext/commands/bot.py", line 252, in _run_extra

yield from coro(*args, **kwargs)


 "/Users/ /Desktop/G/Red-DiscordBot/cogs/selfembed.py", line 33, in on_message

if self.eee["toggle"] and author.id == self.bot.owner.user.id:


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/discord/client.py", line 296, in __getattr__

raise AttributeError(msg.format(self.__class__, name))
AttributeError: '<class '__main__.Bot'>' object has no attribute 'owner'

Traceback (most recent call last):


 "/usr/lib/python3.6/multiprocessing/pool.py", line 119, in worker

result = (True, func(*args, **kwds))


 "/content/OpenNMT-py/onmt/bin/preprocess.py", line 64, in process_one_shard

filter_pred=filter_pred


 "/content/OpenNMT-py/onmt/inputters/dataset_base.py", line 121, in __init__

for ex_dict in starmap(_join_dicts, zip(*read_iters)):


 "/content/OpenNMT-py/onmt/inputters/audio_dataset.py", line 127, in read

spect = self.extract_features(audio_path)


 "/content/OpenNMT-py/onmt/inputters/audio_dataset.py", line 64, in extract_features

sound, sample_rate_ = torchaudio.legacy.load(audio_path)
AttributeError: module 'torchaudio' has no attribute 'legacy'
