Fixes 2.0 (#8)

This commit is contained in:
IThundxr 2022-10-22 02:16:58 -04:00 committed by GitHub
parent 13effc58fe
commit a88ccd92ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 8 deletions

View file

@ -1,3 +1,3 @@
# PrismLauncher bot
# Refraction bot
PrismLauncher Bot for [Discord](https://discord.gg/prismlauncher).
Refraction Bot for [Discord](https://discord.gg/prismlauncher).

View file

@ -1,5 +1,5 @@
{
"name": "roly-poly",
"name": "refraction",
"version": "1.0.0",
"license": "GPL-3.0",
"scripts": {

View file

@ -6,7 +6,6 @@ export const starsCommand = async (
) => {
await i.deferReply();
/* CHANGEME */
const count = await fetch(
'https://api.github.com/repos/PrismLauncher/PrismLauncher'
)

View file

@ -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>`
);
}

View file

@ -12,7 +12,6 @@ interface SimplifiedGHReleases {
// TODO: caching
export async function getLatestMinecraftVersion(): Promise<string> {
const f = await fetch(
/* CHANGEME */
'https://meta.prismlauncher.org/v1/net.minecraft/package.json'
);
@ -22,7 +21,6 @@ export async function getLatestMinecraftVersion(): Promise<string> {
// TODO: caching
export async function getLatestPrismLauncherVersion(): Promise<string> {
/* CHANGEME */
const f = await fetch(
'https://api.github.com/repos/PrismLauncher/PrismLauncher/releases'
);