This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
webpackChunkdiscord_app.push([["wp_isdev_patch"], {}, r => cache=Object.values(r.c)]); | |
var UserStore = cache.find(m => m?.exports?.default?.getCurrentUser).exports.default; | |
var actions = UserStore._dispatcher._actionHandlers._orderedActionHandlers["CONNECTION_OPEN"]; | |
var user = UserStore.getCurrentUser(); | |
actions.find(n => n.name === "ExperimentStore").actionHandler({ | |
type: "CONNECTION_OPEN", user: {flags: user.flags |= 1}, experiments: [], | |
}); | |
actions.find(n => n.name === "DeveloperExperimentStore").actionHandler(); | |
webpackChunkdiscord_app.pop(); user.flags &= ~1; "done"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local ReplicatedStorage = game:GetService("ReplicatedStorage") | |
local RunService = game:GetService("RunService") | |
local Workspace = game:GetService("Workspace") | |
local Llama = require(ReplicatedStorage.packages.Llama) | |
local PathCommandType = require(ReplicatedStorage.shared.enum.PathCommandType) | |
local Renderer = require(ReplicatedStorage.shared.Renderer) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local function createReadBuffer(data) | |
local index = 1 | |
local function readRaw(byteCount) | |
local startIndex = index | |
index = index + byteCount | |
local endIndex = index - 1 | |
return string.byte(data, startIndex, endIndex) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local function merge(...) | |
local output = {} | |
for index = 1, select("#", ...) do | |
local source = select(index, ...) | |
if source ~= nil then | |
for key, value in pairs(source) do | |
output[key] = value | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local ReplicatedStorage = game:GetService("ReplicatedStorage") | |
local Signal = require(ReplicatedStorage.packages.Signal) | |
local Llama = require(ReplicatedStorage.packages.Llama) | |
local globalEntityIdCounter = 0 | |
local function createEntityId() | |
globalEntityIdCounter += 1 | |
return tostring(globalEntityIdCounter) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local LOCKED_ERROR = "Maid no longer usable, create a new maid if you wish to add events" | |
local TABLE_SEARCH_FUNCTIONS = { | |
"Destroy", "destroy", | |
"Disconnect", "disconnect" | |
} | |
local function dispose(object) | |
local objectType = typeof(object) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local Roact = require("Roact") | |
local Flipper = require("Flipper") -- github.com/Reselim/Flipper | |
local Promise = require("Promise") -- github.com/evaera/roblox-lua-promise | |
local ACTIVE_TIME = 3 | |
local RegionHeader = Roact.PureComponent:extend("RegionHeader") | |
function RegionHeader:init() | |
self.motor = Flipper.SingleMotor.new(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local TRANSPARENCY_SEQUENCE = NumberSequence.new({ | |
NumberSequenceKeypoint.new(0, 1), | |
NumberSequenceKeypoint.new(0.5 - 0.001, 1), | |
NumberSequenceKeypoint.new(0.5 + 0.001, 0), | |
NumberSequenceKeypoint.new(1, 0) | |
}) | |
local RadialProgress = Roact.PureComponent:extend("RadialProgress") | |
RadialProgress.defaultProps = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local Event = {} | |
Event.__index = Event | |
function Event.new() | |
return setmetatable({ | |
_listeners = {}, | |
_threads = {}, | |
-- TODO: Remove when Roblox fixes coroutine.yield in pcall | |
_compatibilityEvent = Instance.new("BindableEvent") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const discord = require("discord.js") | |
const akairo = require("discord-akairo") | |
const jimp = require("jimp") | |
const borderSize = 0.04 | |
const prideFlags = { | |
gay: [ "#FF000E", "#FF5000", "#FAD220", "#138F3E", "#3558A0", "#880082" ], | |
bisexual: [ "#D60270", "#9B4F96", "#0038A8" ], | |
trans: [ "#5BCEFA", "#F5A9B8", "#EEEEEE", "#F5A9B8", "#5BCEFA" ], | |
nonbinary: [ "#FFF433", "#FFFFFF", "#9B59D0", "#2D2D2D" ], |
NewerOlder