pip install git+https://git.lihont.space/lihont/LihonT.git#subdirectory=sdk/lihont-ltp Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
13 lines
557 B
Python
13 lines
557 B
Python
# Пример 3: к моему имени добавляется значок по времени суток (чужие имена не трогаем).
|
||
from lihont_ltp import *
|
||
|
||
plugin = Plugin("Значок дня", author="Вася", description="К твоему имени добавляет солнышко или луну")
|
||
|
||
plugin.name(me & morning, after(" ☀️"))
|
||
plugin.name(me & day, after(" 🌤️"))
|
||
plugin.name(me & evening, after(" 🌆"))
|
||
plugin.name(me & night, after(" 🌙"))
|
||
plugin.name(me & friday, after(" 🎉"))
|
||
|
||
plugin.save()
|