kalanikila
Member
- Joined
- Nov 28, 2012
- Messages
- 293
hmmm how do you find your pushbullet key to have it send texts rather than shout it out lol
in Alerter.cs
replace
toCode:ProcessChatMessage(chatEntry.MessageType, chatEntry.Sender, chatEntry.Message);
Code:ProcessChatMessage(chatEntry.MessageType, chatEntry.RemoteName, chatEntry.Message);
in Alerter.cs
replace
toCode:ProcessChatMessage(chatEntry.MessageType, chatEntry.Sender, chatEntry.Message);
Code:ProcessChatMessage(chatEntry.MessageType, chatEntry.RemoteName, chatEntry.Message);
public static Results.NotificationResult Pushover(string token, string apikey, string description, string ev)
{
if (!CheckApiToken(token))
return Results.NotificationResult.TokenError;
if (!CheckApiToken(apikey))
return Results.NotificationResult.ApiKeyError;
string url = "https://api.pushover.net/1/messages.json";
url += "?token=" + HttpUtility.UrlEncode(token.Trim()) +
"&user=" + HttpUtility.UrlEncode(apikey.Trim()) +
"&message=" + HttpUtility.UrlEncode(description) +
"&title=" + HttpUtility.UrlEncode(ev);
return Send(url);
}
Where the variables, PUSHOVER_API_KEY_HERE and PUSHOVER_USER_KEY_HERE, actually contained the values.if (AlerterReloadedSettings.Instance.SendOnPushover && !string.IsNullOrWhiteSpace(AlerterReloadedSettings.Instance.PushoverApiKey) && !string.IsNullOrWhiteSpace(AlerterReloadedSettings.Instance.PushoverKey))
{
var sent = Notifications.Pushover(
"PUSHOVER_API_KEY_HERE",
"PUSHOVER_USER_KEY_HERE",
notification.Event,
notification.Description);
if (sent != Results.NotificationResult.None)
AlerterReloaded.Log.Debug($"[AlerterReloaded][Notifications (PushOver)] A notification didn't get sent, Err : {sent}");
}
Same thing here, not working for pm's.In recent days, alert has stopped calling the PM. Do you know why? someone is the same as me?