Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
28ff804d5a | ||
|
|
d47fdfb57e |
@@ -447,7 +447,7 @@ class FlanaBot(MultiBot, ABC):
|
||||
(
|
||||
message.chat.config['auto_insult']
|
||||
and
|
||||
random.random() < constants.INSULTS
|
||||
random.random() < constants.INSULT_PROBABILITY
|
||||
)
|
||||
)
|
||||
)
|
||||
@@ -780,7 +780,7 @@ class FlanaBot(MultiBot, ABC):
|
||||
bot_state_message: Message = await self.send('Descargando...', message)
|
||||
|
||||
if message.chat.is_group:
|
||||
sended_info_message = await self.send(f'{message.author.name} compartió{self._medias_sended_info(medias)}', message)
|
||||
sended_info_message = await self.send(f"{message.author.name.split('#')[0]} compartió{self._medias_sended_info(medias)}", message)
|
||||
|
||||
for media in medias:
|
||||
if not media.content:
|
||||
|
||||
Reference in New Issue
Block a user