This commit is contained in:
jhartworks committed 2025-02-13 15:23:18 +01:00
1 parent 0435e1af52
commit a843597efb
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -8,7 +8,7 @@ class DiscordKofi extends IPSModule {
$this->RegisterPropertyString("DiscordWsUrl","");
$this->RegisterPropertyString("Url","");
$this->RegisterPropertyString("Titel","Eine Nachricht von Kofi");
$this->RegisterPropertyString("Title","Eine Nachricht von Kofi");
}
// Überschreibt die intere IPS_ApplyChanges($id) Funktion
@@ -28,7 +28,7 @@ class DiscordKofi extends IPSModule {
// Discord webhook URL
$webhookUrl = $this->ReadPropertyString("DiscordWsUrl");
$Url = $this->ReadPropertyString("Url");
$topic= $this->ReadPropertyString("Titel");
$topic= $this->ReadPropertyString("Title");
// Data to send as JSON
$data = array(
"username" => $topic,