-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
I'm trying to get a random message but it throws this error.
Traceback (most recent call last):
File "C:\Users\nuk\Desktop\main.py", line 146, in foaas
await ctx.send(fuck.random(name=ctx.author.name, from_=bot.get_user(ownerid)).text)
File "C:\Users\nuk\AppData\Local\Programs\Python\Python38-32\lib\site-packages\foaas.py", line 116, in random
return choice(**kwargs)
File "C:\Users\nuk\AppData\Local\Programs\Python\Python38-32\lib\site-packages\foaas.py", line 97, in inner
url = self.build_url(path, **kwargs)
File "C:\Users\nuk\AppData\Local\Programs\Python\Python38-32\lib\site-packages\foaas.py", line 124, in build_url
path=path.format(**params))
KeyError: 'from'
What am I doing wrong?
Metadata
Metadata
Assignees
Labels
No labels