#Powercord Snippets
pplugin:
const { Plugin } = require('powercord/entities');
module.exports = class ${1:myPlugin} extends Plugin
{
startPlugin()
{
//code
}
pluginWillUnload() {}
}
preqwebpack:
const { /*module*/ } = require('powercord/webpack');
preqentities:
const { /*module*/ } = require('powercord/entities');
preqcomponents:
const { /*module*/ } = require('powercord/components');
preqinjector:
const { inject, uninject } = require('powercord/injector');
pinject:
inject(id, mdl, method, function(args, res) {
//code
}, false)
| |