diff --git a/epapi/epapi.js b/epapi/epapi.js index d9c0ead..0c5259b 100644 --- a/epapi/epapi.js +++ b/epapi/epapi.js @@ -223,10 +223,6 @@ function evaluate(str, exportsR) { // expose EPAPI as $api, which is what most plugins expect it to be known as window.$api = exports; - // extension methods used in some older plugins, maintained for compatibility - String.prototype.replaceAll = function (search, replacement) { return this.split(search).join(replacement) }; - Array.prototype.contains = function (s) { return this.indexOf(s) != -1 }; - // derive the date of creation from a discord snowflake id Date.fromSnowflake = (id) => new Date((id / 4194304) + 1420070400000);