spectreassistant
v1.0.6
Published
SpectreAssistant for Spectre
Downloads
3
Maintainers
Readme
SpectreAssistant
Add to your code
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"));