Stabilitätsverbesserungen
This commit is contained in:
parent
031886452b
commit
7d0d549720
@ -83,7 +83,7 @@ function bot:on_msg_receive(msg, config) -- The fn run whenever a message is rec
|
||||
name2 = ''
|
||||
end
|
||||
if msg.from.username then
|
||||
name3 = ' (@'..msg.from.username..')'
|
||||
name3 = ' \27[31m(@'..msg.from.username..')\27[0m'
|
||||
else
|
||||
name3 = ''
|
||||
end
|
||||
@ -135,7 +135,7 @@ function bot:on_msg_receive(msg, config) -- The fn run whenever a message is rec
|
||||
filetext = ''
|
||||
end
|
||||
|
||||
full_message = msg_time..from_chat..full_name..' >>> '..full_fwd_name..filetext..user_msg
|
||||
full_message = msg_time..from_chat..full_name..' \27[36m>>>\27[0m '..full_fwd_name..filetext..user_msg
|
||||
print(full_message)
|
||||
|
||||
if msg.date < os.time() - 5 then return end -- Do not process old messages.
|
||||
|
Reference in New Issue
Block a user