tydeno / Ploto

A Windows PowerShell based Chia Plotting Manager. Lets you automatically spawn and move plots. Sends you notifications on the go.
MIT License
32 stars 5 forks source link

Discord Error #110

Open Yamanipanuchi opened 3 years ago

Yamanipanuchi commented 3 years ago

Been getting this error in the script.

PlotoSpawner @ 7/13/2021 8:34:52 AM : ERROR! Could not send Discord API Call or received Bad request PlotoSpawner @ 7/13/2021 8:34:52 AM : ERROR: Error executing Discord Webhook -> [The remote server returned an error: (400) Bad Request.]!

My discord notifications have been getting through, But I don't think it is announcing when a new plot starts. It only gives me the periodic status.

KillaDreams commented 3 years ago

Has to do with the -c not being a part of the $arguments list I've removed the arguments list from the discord notifications and it works fine

Yamanipanuchi commented 3 years ago

Where is that in the code? I would assume I would only want to modify the arguments for that notification.

Yamanipanuchi commented 3 years ago

Ya i've dug and I cannot find the location you reference.

KillaDreams commented 3 years ago

search for this in the ploto.psm1

Event notification in config defined. Sending Discord Notification about spawned job...

then remove the part below $embedBuilder.AddField( DiscordField]::New( where it says something about argument list remove line 1218 to 1225 https://github.com/tydeno/Ploto/blob/b205b0dfaf60f23b4b1e53bb34dceaf8a4575e87/Ploto.psm1#L1218