The command uses this link: https://api.mozambiquehe.re/maprotation?version=2&auth=APIKEY
Is it possible to hide the API key from other people using the command like if they were to check commands for my channel? If it will show in the command list under my Nightbot for my twitch channel, then disregard everything else here as the API key should be private.
I want to make a command that sends the "map" and "remainingTimer" under "current", I want it to look like: "The current map is: "map" with "remainingTimer" left.
Then another command that sends the "map", "readableDate_start" and "remainingMins" under "next", which'll say: "The next map is: "map" in "readableDate_start" for "remainingMins" minutes.
If possible, calculate how many hours before it'll happen with the "readableDate_start".
{"battle_royale": {"current": {"start": 1649966400,"end": 1649971800,"readableDate_start": "2022-04-14 20:00:00","readableDate_end": "2022-04-14 21:30:00","map": "Kings Canyon","code": "kings_canyon_rotation","DurationInSecs": 5400,"DurationInMinutes": 90,"asset": "https:\/\/apexlegendsstatus.com\/assets\/maps\/Kings_Canyon.png","remainingSecs": 1400,"remainingMins": 23,"remainingTimer": "00:23:20"},"next": {"start": 1649971800,"end": 1649977200,"readableDate_start": "2022-04-14 21:30:00","readableDate_end": "2022-04-14 23:00:00","map": "Storm Point","code": "storm_point_rotation","DurationInSecs": 5400,"DurationInMinutes": 90}}}
