https://github.com/dinoscapeprogramming/localbotify-package
https://github.com/dinoscapeprogramming/localbotify-package
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dinoscapeprogramming/localbotify-package
- Owner: DinoscapeProgramming
- License: apache-2.0
- Created: 2025-04-16T21:22:15.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-17T09:08:11.000Z (about 1 year ago)
- Last Synced: 2025-04-17T09:10:12.424Z (about 1 year ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LocalBotify Package
```js
const { commandType, alert, confirm, prompt } = require("localbotify");
```
## .commandType()
```js
commandType(event);
```
**Possible types:**
- `message`
- `slashCommand`
- `button`
- `selectMenu`
- `contextMenu`
- `autocomplete`
- `modal`
- `other` _(none match)_
## .alert()
```js
alert("Title", "Body / Description");
```
## .confirm()
```js
confirm("Title", "Body / Description");
```
## .prompt()
```js
prompt("Title", "Placeholder");
```