Releases: markmelix/recordia
Releases · markmelix/recordia
v3.0
v2.1
v2.0
Now there's the only LongcatRecorder class within API, so it's really convenient to just invoke one's init method with needed parameters to setup logging and recording. For example:
LongcatRecorder(
guild_name="Простое сообщество",
longcat_names={"agent_of_silence", "а.т.#2766"},
notifiers=( # notifiers have a special notify method which's invoked when timestamping longcat vc join/exit
BaseNotifier(), # just prints in terminal
TelegramNotifier(chats=TELEGRAM_CHAT_IDS, token=TELEGRAM_TOKEN), # sends a message as a telegram bot
),
privacy_doorstep=3, # how many people should be within vc to have bot joined
disconnect_delay=15, # delay before disconnecting from vc when longcat leaves
connect_delay=10, # delay before connecting to vc when longcat joins
).run(DISCORD_TOKEN)