Using Python to send Discord Notifications from Raspberry Pi!

Опубликовано: 06 Февраль 2023
на канале: Sprout Tutorials
476
4

I wrote a program in Python that scans the Minecraft server logs and sends a notification to Discord whenever someone logs in or out of our server. This is a highly customizeable program that can also scan the logs for really anything you want.

Github Repository: https://github.com/comradeflats/logno...

Systemd Service:

[Unit]
Description=Minecraft Discord Notifier
After=network.target

[Service]
User=pi
WorkingDirectory=/path/to/directory/
ExecStart=/usr/bin/python3 /path/to/program/directory/program.py
Restart=on-failure

[Install]
WantedBy=multi-user.target

My Forge Minecraft Discord (IP available there):   / discord  

0:00 Intro

1:12 Github Code Review

8:30 Create and run your program

9:32 Systemd service


На этой странице сайта вы можете посмотреть видео онлайн Using Python to send Discord Notifications from Raspberry Pi! длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Sprout Tutorials 06 Февраль 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 476 раз и оно понравилось 4 зрителям. Приятного просмотра!