@orbital-frame/plugin-rc
v0.0.2-alpha.5
Published
A plugin for running commands from an rc file on startup
Downloads
7
Readme
@orbital-frame/plugin-rc
Load and execute file of orbital frame commands each time the bot is started. This is useful for bootstrapping an environment (variables, aliases, functions, etc.).
Installing
npm install --save @orbital-frame/plugin-rc
Usage
import rcPlugin from '@orbital-frame/plugin-rc'
const loadRc = rcPlugin({
file: `${__dirname}/../../orbital-frame.rc`
})
// add `loadRc` to your bot's plugins