Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
28ff804d5a | ||
|
|
d47fdfb57e | ||
|
|
20fb6e3223 |
@@ -447,7 +447,7 @@ class FlanaBot(MultiBot, ABC):
|
|||||||
(
|
(
|
||||||
message.chat.config['auto_insult']
|
message.chat.config['auto_insult']
|
||||||
and
|
and
|
||||||
random.random() < 0.5
|
random.random() < constants.INSULT_PROBABILITY
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@@ -780,7 +780,7 @@ class FlanaBot(MultiBot, ABC):
|
|||||||
bot_state_message: Message = await self.send('Descargando...', message)
|
bot_state_message: Message = await self.send('Descargando...', message)
|
||||||
|
|
||||||
if message.chat.is_group:
|
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:
|
for media in medias:
|
||||||
if not media.content:
|
if not media.content:
|
||||||
|
|||||||
Reference in New Issue
Block a user