commit afd32f74f3b7fb74ace5f7dd04a4f691c960a67b Author: 12 Date: Tue Nov 17 18:16:24 2020 -0500 e diff --git a/README.md b/README.md new file mode 100644 index 0000000..5ef3b34 --- /dev/null +++ b/README.md @@ -0,0 +1,118 @@ +# Powercord Scripts + +Collection of console scripts for [Powercord](https://powercord.dev/) + +## Call + +```javascript +(async ()=>{ + const { + getModule, + messages: { receiveMessage }, + channels: { getChannelId }, + } = require('powercord/webpack') + const { createBotMessage } = await getModule(['createBotMessage']) + const { getCurrentUser } = await getModule(['getCurrentUser']) + + let msg = createBotMessage(getChannelId(), 'Helo') + msg.author = getCurrentUser() + msg.mention_everyone = false + msg.type = 3 + msg.flags = 0 + receiveMessage(msg.channel_id, msg) +})() +``` + + +## Boost + +```javascript +(async ()=>{ + const { + getModule, + messages: { receiveMessage }, + channels: { getChannelId }, + } = require('powercord/webpack') + const { createBotMessage } = await getModule(['createBotMessage']) + const { getCurrentUser } = await getModule(['getCurrentUser']) + + let msg = createBotMessage(getChannelId(), 'lol im a booster') + msg.author = getCurrentUser() + msg.mention_everyone = false + msg.type = 8 + msg.flags = 0 + receiveMessage(msg.channel_id, msg) +})() +``` + +## Boost level 1 + +```javascript +(async ()=>{ + const { + getModule, + messages: { receiveMessage }, + channels: { getChannelId }, + } = require('powercord/webpack') + const { createBotMessage } = await getModule(['createBotMessage']) + const { getCurrentUser } = await getModule(['getCurrentUser']) + + let msg = createBotMessage(getChannelId(), 'SpoofMyBoost') + msg.author = getCurrentUser() + msg.mention_everyone = false + msg.type = 9 + msg.flags = 0 + receiveMessage(msg.channel_id, msg) +})() +``` + +## Boost level 2 +```javascript +(async ()=>{ + const { + getModule, + messages: { receiveMessage }, + channels: { getChannelId }, + } = require('powercord/webpack') + const { createBotMessage } = await getModule(['createBotMessage']) + const { getCurrentUser } = await getModule(['getCurrentUser']) + + let msg = createBotMessage(getChannelId(), 'SpoofMyBoost') + msg.author = getCurrentUser() + msg.mention_everyone = false + msg.type = 10 + msg.flags = 0 + receiveMessage(msg.channel_id, msg) +})() +``` + +## Boost level 3 +```javascript +(async ()=>{ + const { + getModule, + messages: { receiveMessage }, + channels: { getChannelId }, + } = require('powercord/webpack') + const { createBotMessage } = await getModule(['createBotMessage']) + const { getCurrentUser } = await getModule(['getCurrentUser']) + + let msg = createBotMessage(getChannelId(), 'SpoofMyBoost') + msg.author = getCurrentUser() + msg.mention_everyone = false + msg.type = 11 + msg.flags = 0 + receiveMessage(msg.channel_id, msg) +})() +``` + +## Previews + + + + + + + +## Credit +Credit [Ignacio](https://gitdab.com/settings) \ No newline at end of file