Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lordalex2015/spectreassistant
SpectreAssistant
https://github.com/lordalex2015/spectreassistant
Last synced: 14 days ago
JSON representation
SpectreAssistant
- Host: GitHub
- URL: https://github.com/lordalex2015/spectreassistant
- Owner: LordAlex2015
- License: mit
- Created: 2021-10-17T11:49:59.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-17T12:30:11.000Z (about 3 years ago)
- Last Synced: 2024-10-12T23:37:43.535Z (2 months ago)
- Language: TypeScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SpectreAssistant
## Add to your code
```js
const {SpectreAssistant} = require("spectreassistant");// Creating an instance of Spectre Assistant
client.Spectre = new SpectreAssistant({ host: 'localhost', password: '' });
// ...
// Validating your action
message.channel.send("Hey!").then(m => client.Spectre.validate(m, "messageCreate"));// Or
// Creating an instance of Spectre Assistant
const Spectre = new SpectreAssistant({ host: 'localhost', password: '' });
// ...
// Validating your action
message.channel.send("Hey!").then(m => Spectre.validate(m, "messageCreate"));
```### [Spectre on Github](https://github.com/LordAlex2015/Spectre)