npm.io
1.0.6 • Published 4 years ago

spectreassistant

Licence
MIT
Version
1.0.6
Deps
1
Size
5 kB
Vulns
0
Weekly
0

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"));

Spectre on Github

Keywords