Skip to content

How can I get current hunger info? #1922

@GK64

Description

@GK64

I'm creating an automatic eating, but I'd like to see the current hunger information when I type 'Hunger info' in the public chat.
I found 'bot.food()' but I don't understand how to use it.

Is there any other api to get information easily? ex. health, effects, hunger.

bot.on('chat', (username,message) => {

    if (message = "hunger info"){
    bot.chat('Hunger = ')
  }
  return
  })
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions