Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
Tomodachi94 edited this page Dec 27, 2020 · 1 revision

API Documentation

Here's the documentation I mentioned in the README. If you are an end-user, you probably have the wrong page.

Functions

Auth and Deauth

CleverLever has a very insecure authentication system, via 2 functions: auth and deauth.

Auth

cleverlever.auth(input)

Takes an input variable and sees if it is correct. Has a 5-second cooldown to prevent brute-force attacks.

Deauth

cleverlever.deauth()

Deauthenticates with the system. Takes no arguments.

on and off

Toggles the lever on and off. Requires authentication.

Usage

cleverlever.on()
cleverlever.off()
Clone this wiki locally