This commit is contained in:
2023-08-18 19:00:26 +02:00
parent 1acf1821e6
commit 95161bc382
2 changed files with 2 additions and 3 deletions

View File

@ -31,7 +31,7 @@ bool DiscordAPI::sendMessage(String trame){
}
bool DiscordAPI::sendheure(String hStart, String hEnd){
bool DiscordAPI::sendHeure(String hStart, String hEnd){
int color = random(16777215);
String trame = "{\"embeds\": [{\"title\": \"Le Lab est ouvert !\",\"description\": \"Le Lab est ouvert de **"+ hStart +"** à **"+ hEnd +"**\",\"color\": \"" + color + "\"}]}";
return this->sendMessage(trame);