https://github.com/lifailon/ipupdate
Update remote dynamic ip address in RDCMan via Discord
https://github.com/lifailon/ipupdate
discord-bot ip ip-update ip-updater powershell rdcman windows
Last synced: 11 months ago
JSON representation
Update remote dynamic ip address in RDCMan via Discord
- Host: GitHub
- URL: https://github.com/lifailon/ipupdate
- Owner: Lifailon
- Created: 2024-01-18T07:32:37.000Z (about 2 years ago)
- Default Branch: rsa
- Last Pushed: 2024-01-18T08:05:18.000Z (about 2 years ago)
- Last Synced: 2025-02-07T15:12:33.809Z (about 1 year ago)
- Topics: discord-bot, ip, ip-update, ip-updater, powershell, rdcman, windows
- Language: PowerShell
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IPUpdate
Update dynamic white ip address in **RDCMan** via **Discord**.
## EN
- Create a [bot](https://discord.com/developers/applications) and Discord server, get bot token and channel id on the server.
- Update variables: `DISCORD_TOKEN`, `DISCORD_CHANNEL_ID`, `RDCMan_RDG_PATH` (path to configuration file) and `RDCMan_Display_Name` (server name in configuration).
- Run `Send-IpToDiscord.ps1` to send your IP address to the Discord channel (it checks the last message and only sends a message if the address has changed).
- Run `Write-IpToRDCMan.ps1` on the remote computer to update the address in the configuration (reads the latest IP address from Discord and updates only if the IP address is different from the configured one).
## RU
- Создайте [бота](https://discord.com/developers/applications) и сервер Discord, получить токен бота и id канала на сервере.
- Обновите переменные: `DISCORD_TOKEN`, `DISCORD_CHANNEL_ID`, `RDCMan_RDG_PATH` (путь до файла конфигурации) and `RDCMan_Display_Name` (имя сервера в конфигурации).
- Запустите `Send-IpToDiscord.ps1` что бы отправить свой IP-адрес в Discord канал (проверяет последнее сообщение и только в случае смены адреса отправляет сообщение).
- Запустите `Write-IpToRDCMan.ps1` на удаленном компьютере, что бы обновить адрес в конфигурации (читает последний IP-адрес из Discord и обновляет только если IP-адрес отличается от настроенного в конфигурации).