[Chore] Update dist

This commit is contained in:
Ducko 2021-02-24 18:27:03 +00:00
parent b36c3d37f8
commit 9ffce1ee0f
5 changed files with 23 additions and 2 deletions

2
dist/goosemod.json vendored
View file

@ -1 +1 @@
{"modules":[{"name":"Copy Raw","description":"Allows you to copy messages as they were when being written.","version":"1.2.0","tags":["messages"],"authors":["441384103946878987"],"hash":"2e1087cd2dd4681912428f12c9b95349f4e697d2754de176af1dc2a54f46be95559ecfbad0b561605711a787cd5ccad7afee1cbb8683979f78e07d98d300b9a8","github":{"stars":1,"repo":"Controlfreak707/GM-Copy-Raw"},"images":["https://raw.githubusercontent.com/Controlfreak707/GM-Copy-Raw/main/images/image-a.png"]},{"name":"Send Button","description":"Adds a send button, similar to the mobile application.","version":"1.0.0","tags":["quick-actions","react","dom"],"authors":["441384103946878987"],"hash":"a9ea5a6f583a0aca4c7cbf9a6550293712019277b4174bb6ad0ccd53ef85d5becc31c4e7b4fd76db3d5d529b5684316198a448247b30f7ed36feeeb0f05837be","github":{"stars":0,"repo":"Controlfreak707/GM-Send-Button"},"images":["https://raw.githubusercontent.com/Controlfreak707/GM-Send-Button/main/images/image-a.png","https://raw.githubusercontent.com/Controlfreak707/GM-Send-Button/main/images/image-b.png"]},{"name":"Relaunch","description":"Easily relaunch Discord, completely. (Press `F4` to relaunch.)","version":"1.3.0","tags":["quick-actions","dom"],"authors":["441384103946878987"],"hash":"e3d44a465fda9f04f455c01a9ea3fa17a0699b311f0680214325102b74cf50930d9a992bc512fb492763f9c46cf5990265f55b96617273b8cdd02a3d45a914e0","github":{"stars":0,"repo":"Controlfreak707/GM-Relaunch"},"images":["https://raw.githubusercontent.com/Controlfreak707/GM-Relaunch/main/images/image-a.png","https://raw.githubusercontent.com/Controlfreak707/GM-Relaunch/main/images/image-b.png"]},{"name":"Better Animations","description":"Adds animations to a bunch of stuff.","version":"3.0.1","tags":["ui","dom"],"authors":["441384103946878987"],"hash":"d101569b73aeecae58534c78140b9b798328508e818172559cacca3d0df7b19d8255acd70aa86fcf38a9fed551021c63bbafa9a9227120628ebf727d55c369c5","github":{"stars":1,"repo":"Controlfreak707/GM-Better-Animations"}},{"name":"Comfy Theme","description":"A simple, customizable, comfy theme. (Ported with the addition of settings by Liam The Protogen.)","version":"1.1.2","tags":["themes","dom"],"authors":["265924886461939712","441384103946878987"],"hash":"56402352983b4ba135c6553e6c4486bc730c1af4387d916a43377edf987a73be9e7f3015adb9931c49be8c908d885d9a90625028988bcfedfeeb0d03e19ec369","github":{"stars":1,"repo":"Controlfreak707/GM-Comfy-Theme"},"images":["https://raw.githubusercontent.com/Controlfreak707/GM-Comfy-Theme/main/images/image-a.png","https://raw.githubusercontent.com/Controlfreak707/GM-Comfy-Theme/main/images/image-b.png","https://raw.githubusercontent.com/Controlfreak707/GM-Comfy-Theme/main/images/image-c.png","https://raw.githubusercontent.com/Controlfreak707/GM-Comfy-Theme/main/images/image-d.png"]},{"name":"Message Click Actions","description":"Quick keyboard+click shortcuts for common message actions.","version":"1.0.0","tags":["quick-actions","dom"],"authors":["169175121037099008"],"hash":"a4fd6c63be7692ced31dd15a0a8039ac2ff67e639c3659467fd4421d266c31e8fc898e671269c65ef8f7c4a30a8df489fb6fe92566c7c03e2bfd00e9509ef946","github":{"stars":0,"repo":"TechnoJo4/GM-MessageClickActions"},"images":[]},{"name":"Copy Avatar URL","description":"Adds context menu action to copy user's avatar URLs.","version":"1.0.0","tags":["context menu"],"authors":["506482395269169153"],"hash":"aac6e15854b74304084bfaaa8c5fe4458b28b9368c9ca474607bd8e7059a25da88d39012f58dc1f151b0f5554f019ee8a4b28534190cdde3e0464fd7c1b10504","github":{"stars":0,"repo":"GooseMod-Modules/CopyAvatarURL"}}],"meta":{"name":"Store Core - GooseMod Modules","description":"Officially published GooseMod modules."}}
{"modules":[{"name":"Create Emoji From Context Menu","description":"Adds context menu action to create emojis from images/other emojis and instantly upload them.","version":"1.0.0","tags":["context menu","quick-actions"],"authors":["150745989836308480"],"hash":"6fc22972879ded1b3d320096921125663110ffd4b42968d5da6e81de0b87cf308d13b754c0f33c83e436258e75ad8d0efa4ea5ec8a5a9763a66d1828c4a32b03","github":{"stars":1,"repo":"Cynosphere/hjonk"}},{"name":"Old Quote","description":"Adds back the old quoting feature.","version":"1.0.0","tags":["context menu","quick-actions"],"authors":["150745989836308480"],"hash":"42a07e9a1454c1d8d8c65c292f06e821dfbddc18a6ba87d076a258d6ae1948a3e12735b4cba6b05f7ba020babf6cb5ef49c6088994a6edec3b33780fb48da745","github":{"stars":1,"repo":"Cynosphere/hjonk"}},{"name":"Time Bar For All Activities","description":"Displays Spotify time bar for all activities that specify start and end timestamps.","version":"1.0.0","tags":["ui"],"authors":["150745989836308480"],"hash":"d77ae6f3d2396bd8cc471ab65b32a12dfef4afbaa0559627d264a40dc67b1d54ef927c230c27ad6c6a999aa7e3cb04face3030bd3904400fdb1fdefdc1d5c286","github":{"stars":1,"repo":"Cynosphere/hjonk"}},{"name":"Copy Raw","description":"Allows you to copy messages as they were when being written.","version":"1.2.0","tags":["messages"],"authors":["441384103946878987"],"hash":"2e1087cd2dd4681912428f12c9b95349f4e697d2754de176af1dc2a54f46be95559ecfbad0b561605711a787cd5ccad7afee1cbb8683979f78e07d98d300b9a8","github":{"stars":1,"repo":"Controlfreak707/GM-Copy-Raw"},"images":["https://raw.githubusercontent.com/Controlfreak707/GM-Copy-Raw/main/images/image-a.png"]},{"name":"Send Button","description":"Adds a send button, similar to the mobile application.","version":"1.0.0","tags":["quick-actions","react","dom"],"authors":["441384103946878987"],"hash":"a9ea5a6f583a0aca4c7cbf9a6550293712019277b4174bb6ad0ccd53ef85d5becc31c4e7b4fd76db3d5d529b5684316198a448247b30f7ed36feeeb0f05837be","github":{"stars":0,"repo":"Controlfreak707/GM-Send-Button"},"images":["https://raw.githubusercontent.com/Controlfreak707/GM-Send-Button/main/images/image-a.png","https://raw.githubusercontent.com/Controlfreak707/GM-Send-Button/main/images/image-b.png"]},{"name":"Relaunch","description":"Easily relaunch Discord, completely. (Press `F4` to relaunch.)","version":"1.3.0","tags":["quick-actions","dom"],"authors":["441384103946878987"],"hash":"e3d44a465fda9f04f455c01a9ea3fa17a0699b311f0680214325102b74cf50930d9a992bc512fb492763f9c46cf5990265f55b96617273b8cdd02a3d45a914e0","github":{"stars":0,"repo":"Controlfreak707/GM-Relaunch"},"images":["https://raw.githubusercontent.com/Controlfreak707/GM-Relaunch/main/images/image-a.png","https://raw.githubusercontent.com/Controlfreak707/GM-Relaunch/main/images/image-b.png"]},{"name":"Better Animations","description":"Adds animations to a bunch of stuff.","version":"3.0.1","tags":["ui","dom"],"authors":["441384103946878987"],"hash":"d101569b73aeecae58534c78140b9b798328508e818172559cacca3d0df7b19d8255acd70aa86fcf38a9fed551021c63bbafa9a9227120628ebf727d55c369c5","github":{"stars":1,"repo":"Controlfreak707/GM-Better-Animations"}},{"name":"Comfy Theme","description":"A simple, customizable, comfy theme. (Ported with the addition of settings by Liam The Protogen.)","version":"1.1.2","tags":["themes","dom"],"authors":["265924886461939712","441384103946878987"],"hash":"56402352983b4ba135c6553e6c4486bc730c1af4387d916a43377edf987a73be9e7f3015adb9931c49be8c908d885d9a90625028988bcfedfeeb0d03e19ec369","github":{"stars":1,"repo":"Controlfreak707/GM-Comfy-Theme"},"images":["https://raw.githubusercontent.com/Controlfreak707/GM-Comfy-Theme/main/images/image-a.png","https://raw.githubusercontent.com/Controlfreak707/GM-Comfy-Theme/main/images/image-b.png","https://raw.githubusercontent.com/Controlfreak707/GM-Comfy-Theme/main/images/image-c.png","https://raw.githubusercontent.com/Controlfreak707/GM-Comfy-Theme/main/images/image-d.png"]},{"name":"Message Click Actions","description":"Quick keyboard+click shortcuts for common message actions.","version":"1.0.0","tags":["quick-actions","dom"],"authors":["169175121037099008"],"hash":"a4fd6c63be7692ced31dd15a0a8039ac2ff67e639c3659467fd4421d266c31e8fc898e671269c65ef8f7c4a30a8df489fb6fe92566c7c03e2bfd00e9509ef946","github":{"stars":0,"repo":"TechnoJo4/GM-MessageClickActions"},"images":[]},{"name":"Copy Avatar URL","description":"Adds context menu action to copy user's avatar URLs.","version":"1.0.0","tags":["context menu"],"authors":["506482395269169153"],"hash":"aac6e15854b74304084bfaaa8c5fe4458b28b9368c9ca474607bd8e7059a25da88d39012f58dc1f151b0f5554f019ee8a4b28534190cdde3e0464fd7c1b10504","github":{"stars":0,"repo":"GooseMod-Modules/CopyAvatarURL"}}],"meta":{"name":"Store Core - GooseMod Modules","description":"Officially published GooseMod modules."}}

View file

@ -0,0 +1,9 @@
parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"../../../../moduleWrappers/webpack.js":[function(require,module,exports) {
module.exports=goosemodScope.webpackModules;
},{}],"../../../../moduleWrappers/logger.js":[function(require,module,exports) {
module.exports=goosemodScope.logger;
},{}],"../../../../moduleWrappers/toast.js":[function(require,module,exports) {
module.exports=goosemodScope.showToast;
},{}],"index.js":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t,e=i(require("@goosemod/webpack")),r=i(require("@goosemod/logger")),n=o(require("@goosemod/toast"));function o(t){return t&&t.__esModule?t:{default:t}}function a(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return a=function(){return t},t}function i(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var e=a();if(e&&e.has(t))return e.get(t);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var i=n?Object.getOwnPropertyDescriptor(t,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=t[o]}return r.default=t,e&&e.set(t,r),r}function u(t){return l(t)||f(t)||y(t)||c()}function c(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function l(t){if(Array.isArray(t))return v(t)}function s(t,e,r,n,o,a,i){try{var u=t[a](i),c=u.value}catch(error){return void r(error)}u.done?e(c):Promise.resolve(c).then(n,o)}function d(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var a=t.apply(e,r);function i(t){s(a,n,o,i,u,"next",t)}function u(t){s(a,n,o,i,u,"throw",t)}i(void 0)})}}function m(t,e){return h(t)||b(t,e)||y(t,e)||p()}function p(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y(t,e){if(t){if("string"==typeof t)return v(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?v(t,e):void 0}}function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function b(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,a=void 0;try{for(var i,u=t[Symbol.iterator]();!(n=(i=u.next()).done)&&(r.push(i.value),!e||r.length!==e);n=!0);}catch(c){o=!0,a=c}finally{try{n||null==u.return||u.return()}finally{if(o)throw a}}return r}}function h(t){if(Array.isArray(t))return t}var g={goosemodHandlers:{onImport:function(){var o=e.common.React,a=e.findByProps("getGuilds"),i=e.findByProps("uploadEmoji"),c=e.findByProps("canWithPartialContext"),f=e.findByProps("Permissions"),l=e.findByProps("sanitizeEmojiName"),s=e.findByProps("MenuItem"),p=e.find(function(t){return t.default&&"function"==typeof t.default&&t.default.toString().includes('id:"copy-native-link"')}),y=p.default;p.default=function(t,e){var p=y(t,e);if(!t)return p;var v=l.sanitizeEmojiName(t.substring(t.lastIndexOf("/"),t.lastIndexOf("."))),b=Object.entries(a.getGuilds()).filter(function(t){var e=m(t,2),r=(e[0],e[1]);return c.can(f.Permissions.MANAGE_EMOJIS,r)}).sort(function(t,e){var r=m(t,2),n=(r[0],r[1]),o=m(e,2),a=(o[0],o[1]);return n.name.localeCompare(a.name)}).map(function(e){var a=m(e,2),u=a[0],c=a[1];return o.createElement(s.MenuItem,{id:"createEmoji-create-"+u,label:c.name,action:function(){var e=d(regeneratorRuntime.mark(function e(){var o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch(t,{mode:"cors"});case 3:o=e.sent,e.next=11;break;case 6:return e.prev=6,e.t0=e.catch(0),r.debug("Clone Emoji","Error fetching from: "+t,e.t0),(0,n.default)("Couldn't create emoji.",{type:error}),e.abrupt("return");case 11:return e.t1=i,e.t2=u,e.t3="data:".concat(o.headers.get("Content-Type"),";base64,"),e.t4=btoa,e.t5=String.fromCharCode,e.t6=Uint8Array,e.next=19,o.arrayBuffer();case 19:return e.t7=e.sent,e.t8=new e.t6(e.t7),e.t9=e.t5.apply.call(e.t5,null,e.t8),e.t10=(0,e.t4)(e.t9),e.t11=e.t3.concat.call(e.t3,e.t10),e.t12=v,e.next=27,e.t1.uploadEmoji.call(e.t1,e.t2,e.t11,e.t12).then(function(){(0,n.default)('Created emoji "'.concat(v,'" in ').concat(c.name,"."))});case 27:case"end":return e.stop()}},e,null,[[0,6]])}));return function(){return e.apply(this,arguments)}}()})});return b&&b.length?[o.createElement(s.MenuItem,{id:"createEmoji-create",label:"Create Emoji: "+v,action:function(){}},b)].concat(u(p)):p},t=function(){return p.default=y}},onRemove:function(){t()}}};exports.default=g;
},{"@goosemod/webpack":"../../../../moduleWrappers/webpack.js","@goosemod/logger":"../../../../moduleWrappers/logger.js","@goosemod/toast":"../../../../moduleWrappers/toast.js"}]},{},["index.js"], null);parcelRequire('index.js').default

7
dist/module/Old Quote.js vendored Normal file
View file

@ -0,0 +1,7 @@
parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"../../../../moduleWrappers/webpack.js":[function(require,module,exports) {
module.exports=goosemodScope.webpackModules;
},{}],"../../../../moduleWrappers/patcher.js":[function(require,module,exports) {
module.exports=goosemodScope.patcher;
},{}],"index.js":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e,t=r(require("@goosemod/webpack")),n=require("@goosemod/patcher");function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function r(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){var a=r?Object.getOwnPropertyDescriptor(e,s):null;a&&(a.get||a.set)?Object.defineProperty(n,s,a):n[s]=e[s]}return n.default=e,t&&t.set(e,n),n}var s={goosemodHandlers:{onImport:function(){var o=t.findByProps("ComponentDispatch").ComponentDispatch,r=t.findByProps("ComponentActions").ComponentActions,s=t.findByProps("Messages").Messages;e=n.contextMenu.patch("message",{label:s.QUOTE,action:function(e,t){for(var n=t.message.content.split("\n"),s=0;s<n.length;s++)n[s]="> "+n[s];var a=n.join("\n")+"\n";o.dispatchToLastSubscribed(r.INSERT_TEXT,{content:a})}})},onRemove:function(){e()}}};exports.default=s;
},{"@goosemod/webpack":"../../../../moduleWrappers/webpack.js","@goosemod/patcher":"../../../../moduleWrappers/patcher.js"}]},{},["index.js"], null);parcelRequire('index.js').default

View file

@ -0,0 +1,5 @@
parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"../../../../moduleWrappers/webpack.js":[function(require,module,exports) {
module.exports=goosemodScope.webpackModules;
},{}],"index.js":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e,t=n(require("@goosemod/webpack"));function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}function n(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var f=o?Object.getOwnPropertyDescriptor(e,u):null;f&&(f.get||f.set)?Object.defineProperty(n,u,f):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}var o={goosemodHandlers:{onImport:function(){var r=t.find(function(e){return e.default&&"function"==typeof e.default&&e.default.toString().match(/return null!=.&&.+?\.party\.id\)/)}),n=r.default;r.default=function(e){var t=(new Error).stack;return t.includes("renderTimeBar")||t.includes("renderTimePlayed")?null!=e:n(e)},e=function(){return r.default=n}},onRemove:function(){e()}}};exports.default=o;
},{"@goosemod/webpack":"../../../../moduleWrappers/webpack.js"}]},{},["index.js"], null);parcelRequire('index.js').default

2
dist/modules.json vendored

File diff suppressed because one or more lines are too long