Question: I want to write a Bot that changes the color of a Role on a server every 1 minute. What should I do?
The bot is supposed to do this only on one server

Answer: 
You can create a `const` outside your component and use a boolean state in your component:

```
const message = {
  working: 'I am currently working',
  studying: 'I am currently studying',
}

export function App() {
  const [working, setWorking] = useState(false) // or true

  return (
    <>
      <div>{working ? message.working : message.studying}</div>
      <button onClick={() => setWorking((w) => !w)}>Click</button>
    </>
  )
}

```
If `currentState` is always either "**working**" or "**studying**" you could do

```
state[currentState]

```

which then will give you the corresponding value.

You can put object attributes in the square brackets after the object-name to select the wished value.