fix async function and some vars
This commit is contained in:
parent
8bbda6ae7a
commit
442b9b78bb
2 changed files with 2 additions and 2 deletions
|
@ -106,7 +106,7 @@ class Responder:
|
|||
users = await self.client.get_participants(entity=chat_id)
|
||||
victim = random.choice(users)
|
||||
username = self.namegen.get_name(victim)
|
||||
return response.replace('<randomname>', username)
|
||||
return response.replace(marker, username)
|
||||
|
||||
async def respond(self,
|
||||
event: telethon.events.common.EventBuilder) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue