Add more intuitive link for hardcoding

This commit is contained in:
Daenges 2021-05-08 09:22:34 +02:00 committed by ORelio
parent 512d78d307
commit b8ce4d16c4

View file

@ -78,7 +78,7 @@ class WebhoookSettings
skinModes.Add("fullSkin", "https://crafatar.com/renders/body/{0}"); skinModes.Add("fullSkin", "https://crafatar.com/renders/body/{0}");
// Define standard values for main class // Define standard values for main class
WebhookURL = "Your URL"; // Enter your Webhook URL here to start the bot with it predefined. WebhookURL = "https://discord.com/api/webhooks/SomeNumber/RandomStuff"; // Enter your Webhook URL here to start the bot with it predefined.
SendPrivateMsg = true; SendPrivateMsg = true;
CustomChatDetection = true; CustomChatDetection = true;
SendServerMsg = true; SendServerMsg = true;
@ -428,7 +428,7 @@ class DiscordWebhook : ChatBot
{ {
msg.Content += " " + AddPingsToMessage(msg.SenderName, msg.Content); msg.Content += " " + AddPingsToMessage(msg.SenderName, msg.Content);
if (settings.WebhookURL != "" && settings.WebhookURL != "Your URL") if (settings.WebhookURL != "" && settings.WebhookURL != "https://discord.com/api/webhooks/SomeNumber/RandomStuff")
{ {
LogDebugToConsole("Send webhook request to Discord."); LogDebugToConsole("Send webhook request to Discord.");
try try