# Built-in Functions

The basic built-in functions do not relate to bot functionality. Instead, they allow writing flexible scripts.

```javascript
setTimeout(function() {
  console.log("Timer has fired!");
}, 3000); 
```

# List of functions

| **Script Details** |
|----------------|
| [process.name](/doc/199023fb-b50e-4a61-abe9-6b3aa014cee0) |
| [process.release](/doc/19a2e0f2-e164-4296-8849-170346bba6be) |
| **Program Flow** |
| [process.exit](/doc/8fc4d4fc-f3f7-4386-8607-fd2849618f0b) |
| [process.sleep](/doc/ee252b45-67c1-459c-bfac-5f45d4ffa6b0) |
| [Timer control](/doc/f71a6d91-e7ab-40fc-a9e8-8a29dc775a11) |
| **Persistent Bot Storage** |
| [localStorage.get](/doc/f6e3ef6e-885b-40fb-95b5-04f482fac45c) |
| [localStorage.set](/doc/95f08619-9737-4d1a-b563-e26062839ee2) |
| [localStorage.keys](/doc/56808c47-18cb-41b2-a532-c68a694430bc) |
| [localStorage.on](/doc/2915f500-dbd0-4c1c-8d86-1646f555d28e) |
| **User Settings** |
| [userSettings.*](/doc/bc292f8f-9a58-441a-b15f-b8d6229de064) |
| **HTTP**       |
| [http.get](/doc/aa3433bd-f46b-4a58-a644-c00ac22c25c9) |
| [http.post](/doc/35be28b5-b287-4d6d-b20d-d191174fed0d) |
| [http.requestWebhook](/doc/587ae5fe-54b2-4f87-bf0e-fac2b0998baa) |
| **Debug**      |
| [console.log](/doc/a2372eae-6817-4aa0-8c18-0ed9638efe57) |
| [console.warn](/doc/398f1b71-2860-4ce1-a1ca-7de809584157) |
| [console.error](/doc/9b6acc36-9785-4102-bf02-c005f9110fed) |
| [_assert](/doc/2b6e2ef8-43d9-428b-9aa4-9ad0d4c43eb1) |

---

**Documents**

- [console.log](https://www.mysmartbots.com/docs/s/dev/doc/consolelog-z48mrQC9F3)
- [console.warn](https://www.mysmartbots.com/docs/s/dev/doc/consolewarn-TgeMfVTTrX)
- [http.get](https://www.mysmartbots.com/docs/s/dev/doc/httpget-hmRBY6UTiU)
- [http.post](https://www.mysmartbots.com/docs/s/dev/doc/httppost-SzSc9EbZx0)
- [http.patch](https://www.mysmartbots.com/docs/s/dev/doc/httppatch-Ulvl2S1Agg)
- [http.requestWebhook](https://www.mysmartbots.com/docs/s/dev/doc/httprequestwebhook-ZiRzOullKs)
- [Timer control](https://www.mysmartbots.com/docs/s/dev/doc/timer-control-dGm3h0u01g)
- [_assert](https://www.mysmartbots.com/docs/s/dev/doc/_assert-vjH2xbqdKJ)
- [console.error](https://www.mysmartbots.com/docs/s/dev/doc/consoleerror-LYdr6VBdL7)
- [process.release](https://www.mysmartbots.com/docs/s/dev/doc/processrelease-HTZqMK6fUL)
- [process.sleep](https://www.mysmartbots.com/docs/s/dev/doc/processsleep-UlGgJNuk6Z)
- [userSettings.*](https://www.mysmartbots.com/docs/s/dev/doc/usersettings-jCsj25qVt4)
- [localStorage.get](https://www.mysmartbots.com/docs/s/dev/doc/localstorageget-tbpMcD1PUW)
- [localStorage.keys](https://www.mysmartbots.com/docs/s/dev/doc/localstoragekeys-F5U1MQIbWX)
- [localStorage.on](https://www.mysmartbots.com/docs/s/dev/doc/localstorageon-R3po6xCMbk)
- [localStorage.set](https://www.mysmartbots.com/docs/s/dev/doc/localstorageset-Gaa2mgxxo9)
- [process.exit](https://www.mysmartbots.com/docs/s/dev/doc/processexit-4Q2e89b5Yc)
- [process.name](https://www.mysmartbots.com/docs/s/dev/doc/processname-zucartXDpL)