mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-19 11:27:02 -04:00
added disclamer to quest completer, remove warning from RemixMe (#103)
This commit is contained in:
parent
5a87762a00
commit
bfa5d2e2e5
4 changed files with 20 additions and 21 deletions
|
@ -16,6 +16,8 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import "./style.css";
|
||||
|
||||
import { showNotification } from "@api/Notifications";
|
||||
import ErrorBoundary from "@components/ErrorBoundary";
|
||||
import { Devs, EquicordDevs } from "@utils/constants";
|
||||
|
@ -23,7 +25,7 @@ import { getTheme, Theme } from "@utils/discord";
|
|||
import { classes } from "@utils/misc";
|
||||
import definePlugin from "@utils/types";
|
||||
import { findByProps, findExportedComponentLazy } from "@webpack";
|
||||
import { Button, FluxDispatcher, RestAPI, Tooltip, UserStore } from "@webpack/common";
|
||||
import { Button, FluxDispatcher, Forms, RestAPI, Tooltip, UserStore } from "@webpack/common";
|
||||
const HeaderBarIcon = findExportedComponentLazy("Icon", "Divider");
|
||||
const isApp = navigator.userAgent.includes("Electron/");
|
||||
|
||||
|
@ -226,6 +228,11 @@ export default definePlugin({
|
|||
name: "QuestCompleter",
|
||||
description: "A plugin to complete quests without having the game installed.",
|
||||
authors: [Devs.HappyEnderman, EquicordDevs.SerStars, EquicordDevs.thororen],
|
||||
settingsAboutComponent: () => <>
|
||||
<Forms.FormText className="quests-warning">
|
||||
Game Quests do not work on Equibop/Web Platforms. Only Video Quests do.
|
||||
</Forms.FormText>
|
||||
</>,
|
||||
patches: [
|
||||
{
|
||||
find: "\"invite-button\"",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue