mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Add more intuitive link for hardcoding
This commit is contained in:
parent
512d78d307
commit
b8ce4d16c4
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue