From a88ccd92ff70120c58dd3ae15173edf44883e163 Mon Sep 17 00:00:00 2001 From: IThundxr Date: Sat, 22 Oct 2022 02:16:58 -0400 Subject: [PATCH] Fixes 2.0 (#8) --- README.md | 4 ++-- package.json | 2 +- src/commands/stars.ts | 1 - src/index.ts | 3 +-- src/utils/remoteVersions.ts | 2 -- 5 files changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 4fe3ff3..4c66702 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# PrismLauncher bot +# Refraction bot -PrismLauncher Bot for [Discord](https://discord.gg/prismlauncher). +Refraction Bot for [Discord](https://discord.gg/prismlauncher). \ No newline at end of file diff --git a/package.json b/package.json index 657234d..e14f320 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "roly-poly", + "name": "refraction", "version": "1.0.0", "license": "GPL-3.0", "scripts": { diff --git a/src/commands/stars.ts b/src/commands/stars.ts index 5c7c9cc..9eea2ab 100644 --- a/src/commands/stars.ts +++ b/src/commands/stars.ts @@ -6,7 +6,6 @@ export const starsCommand = async ( ) => { await i.deferReply(); - /* CHANGEME */ const count = await fetch( 'https://api.github.com/repos/PrismLauncher/PrismLauncher' ) diff --git a/src/index.ts b/src/index.ts index c34993b..9813fb3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -82,8 +82,7 @@ client.once('ready', async () => { if (e.cleanContent.match(BuildConfig.ETA_REGEX)) { await e.reply( - /* CHANGEME */ - `${random(BuildConfig.ETA_MESSAGES)} <:pofat:964546613194420294>` + `${random(BuildConfig.ETA_MESSAGES)} <:pofat:1031701005559144458>` ); } diff --git a/src/utils/remoteVersions.ts b/src/utils/remoteVersions.ts index a8a33d7..d862787 100644 --- a/src/utils/remoteVersions.ts +++ b/src/utils/remoteVersions.ts @@ -12,7 +12,6 @@ interface SimplifiedGHReleases { // TODO: caching export async function getLatestMinecraftVersion(): Promise { const f = await fetch( - /* CHANGEME */ 'https://meta.prismlauncher.org/v1/net.minecraft/package.json' ); @@ -22,7 +21,6 @@ export async function getLatestMinecraftVersion(): Promise { // TODO: caching export async function getLatestPrismLauncherVersion(): Promise { - /* CHANGEME */ const f = await fetch( 'https://api.github.com/repos/PrismLauncher/PrismLauncher/releases' );