add icu selfcare #15

Closed
opened 2024-05-05 19:17:23 -04:00 by Parker2991 · 5 comments
Owner

could possible get it via position

could possible get it via position
Author
Owner
let e = 0; 
let time = new Date; time.getMilliseconds();
let positionPackets = 0;
if (bot.options.selfcare.icu && time > bot.position) {
  bot.core.run('sudo * icu stop')
}
```js let e = 0; let time = new Date; time.getMilliseconds(); let positionPackets = 0; if (bot.options.selfcare.icu && time > bot.position) { bot.core.run('sudo * icu stop') } ```
Author
Owner

for now

bot.on('move', () => {
bot.core.run('sudo * icu stop')
 })
for now ```js bot.on('move', () => { bot.core.run('sudo * icu stop') }) ```
Author
Owner

anyone know a better way?

anyone know a better way?

looks good enough :)

looks good enough :)
Author
Owner

not really lmao

not really lmao
Parker2991 added the
draft
label 2024-08-17 02:51:01 -04:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Parker2991/FridayNightFunkinBoyfriendBot#15
No description provided.