Run function on bot startup
plugin.json required parameters
const core = require('bit/core')
// In order to allow the bot to read the start_function it MUST be set as an export.
module.exports = {
// Defines the start_function
start_function: function start_function() {
// Calls bit core and tells it to create an info log telling the user the plugin has loaded.
console.log("Successfully Loaded")
}
}Last updated
Was this helpful?