Heartbeat1
Heartbeat1
CC#
Created by Heartbeat1 on 12/9/2023 in #help
Best Way to store data for an Discord Bot
yeah the ids are the same 😉
7 replies
CC#
Created by Heartbeat1 on 12/9/2023 in #help
Best Way to store data for an Discord Bot
okay thanks - edited
7 replies
CC#
Created by Heartbeat1 on 12/9/2023 in #help
Best Way to store data for an Discord Bot
ahh okay its not so easy to add emojis if its an "hard" model when i am correct 😉
7 replies
CC#
Created by Heartbeat1 on 12/9/2023 in #help
Best Way to store data for an Discord Bot
okay thanks for the input, can you easily add some new Emojis in the Json? and do you know if you edit the message does it gets an new id?
7 replies
CC#
Created by Heartbeat1 on 11/21/2022 in #help
✅ Done! Chartjs has one wrong entry and i dont know why
from me
7 replies
CC#
Created by Heartbeat1 on 11/21/2022 in #help
✅ Done! Chartjs has one wrong entry and i dont know why
thanks dumb
7 replies
CC#
Created by Heartbeat1 on 11/21/2022 in #help
✅ Done! Chartjs has one wrong entry and i dont know why
Does someone have an idea why? Its also not on each item but with an few of them.
7 replies
CC#
Created by Heartbeat1 on 11/21/2022 in #help
✅ Done! Chartjs has one wrong entry and i dont know why
Creating the data for the chart <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> <script> const labels = @Html.Raw(Json.Serialize(ActDate)); const data = { labels: labels, datasets: [{ label: 'Average Sell', backgroundColor: 'rgb(255, 99, 132)', borderColor: 'rgb(255, 99, 132)', data: @Html.Raw(Json.Serialize(averagesell)), yAxisID: 'y', }, { label: 'Average Buy', backgroundColor: 'rgb(0, 99, 132)', borderColor: 'rgb(0, 99, 132)', data: @Html.Raw(Json.Serialize(averagebuy)), yAxisID: 'y', }, { label: 'Max Buy Price', backgroundColor: 'rgb(0, 0, 132)', borderColor: 'rgb(0, 0, 132)', data: @Html.Raw(Json.Serialize(maxbuy)), yAxisID: 'y', }, { label: 'Max Sell Price', backgroundColor: 'rgb(0, 255, 132)', borderColor: 'rgb(0, 255, 132)', data: @Html.Raw(Json.Serialize(maxsell)), yAxisID: 'y', }, { label: 'Min Buy Price', backgroundColor: 'rgb(0, 255, 255)', borderColor: 'rgb(0, 255, 255)', data: @Html.Raw(Json.Serialize(minbuy)), yAxisID: 'y', }, { label: 'Min Sell Price', backgroundColor: 'rgb(255, 0, 255)', borderColor: 'rgb(255, 0, 255)', data: @Html.Raw(Json.Serialize(minsell)), yAxisID: 'y', }] }; data.datasets[0].data[1] = "200000"; const config = { type: 'line', data: data, options: {} }; </script> <div style="width:80%"> <canvas id="myChart"></canvas> </div> <script> const myChart = new Chart( document.getElementById('myChart'), config ); </script>
7 replies
CC#
Created by Heartbeat1 on 11/8/2022 in #help
.net Framework Console app check against modification and best practice deploy for auto update.
ohh okkay, that works? That would be perfect thanks for that info
4 replies
CC#
Created by Heartbeat1 on 10/30/2022 in #help
.net core Razor callback from Discord behind reverse Proxy
thanks for the hints
33 replies
CC#
Created by Heartbeat1 on 10/30/2022 in #help
.net core Razor callback from Discord behind reverse Proxy
for the moment i thhink i will leave it like that but try to change it to internal hhttps
33 replies
CC#
Created by Heartbeat1 on 10/30/2022 in #help
.net core Razor callback from Discord behind reverse Proxy
yeah the setting with context.Request.Scheme = "https"; worrked... 😉
33 replies
CC#
Created by Heartbeat1 on 10/30/2022 in #help
.net core Razor callback from Discord behind reverse Proxy
okay thanks
33 replies
CC#
Created by Heartbeat1 on 10/30/2022 in #help
.net core Razor callback from Discord behind reverse Proxy
yeah need to check and then try to rebuild it internally to https. Not sure if i can get it worrking .... 😉
33 replies
CC#
Created by Heartbeat1 on 10/30/2022 in #help
.net core Razor callback from Discord behind reverse Proxy
app.Use((context, next) => { context.Request.Scheme = "https"; return next(context); }); i thinkk this will help me
33 replies
CC#
Created by Heartbeat1 on 10/30/2022 in #help
.net core Razor callback from Discord behind reverse Proxy
okay i will check the link
33 replies
CC#
Created by Heartbeat1 on 10/30/2022 in #help
.net core Razor callback from Discord behind reverse Proxy
33 replies
CC#
Created by Heartbeat1 on 10/30/2022 in #help
.net core Razor callback from Discord behind reverse Proxy
33 replies
CC#
Created by Heartbeat1 on 10/30/2022 in #help
.net core Razor callback from Discord behind reverse Proxy
i am not sure if i can change the callback URL, but also trying to change the internal to https.
33 replies
CC#
Created by Heartbeat1 on 10/30/2022 in #help
.net core Razor callback from Discord behind reverse Proxy
33 replies