Skip to content

Commit

Permalink
chore: update docs for the new release
Browse files Browse the repository at this point in the history
  • Loading branch information
imnaiyar committed Sep 25, 2024
1 parent f35f2be commit aedb1e4
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 7 deletions.
22 changes: 21 additions & 1 deletion docs/pages/changelogs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,27 @@ import { CiWarning } from "react-icons/ci";

# Changelogs

## v6.1.1 (Latest)
## v7.0.0 (Latest)

### Skygame [BETA]

- Introducing a new feature, Skygame. Hangman will be the first of these rolling out, slowly I might add more. This is in beta phase, so it may not work properly. Feedback appreciated

**Collectible**

- Added collectibles for spirits guide, you can now preview a spirits collectible, it's price and some additional informations

**Added more in-game events time in `/skytimes` command/features**

- Added documentations for command to explain it's uses, with examples ([Docs](/commands))

Re-added support for prefix, most commands will also work for prefix, some won't. Keep in mind that support for prefix will not be given (no help menu), users are still encouraged to use slash commands, prefix is being added as a legacy feature.

<Callout type="info">Default prefix is `sh!` which server managers can change using `sh!setprefix` command</Callout>

More details about changes can be found at GitHub [release page](https://github.com/imnaiyar/skyhelper/releases)

## v6.1.1

### Added support for Japanese language

Expand Down
1 change: 1 addition & 0 deletions docs/pages/commands/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"guides": "Guides",
"info": "Informations",
"admin": "Admin",
"fun": "Fun",
"utility": "Utilities"
}
12 changes: 12 additions & 0 deletions docs/pages/commands/fun.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Fun Commands
description: Information about fun commands that is offered by SkyHelper
---

import { Callout } from "nextra/components";

# Fun Commands

## `/skygame`

TBD
18 changes: 13 additions & 5 deletions src/bot/commands/inputCommands/utility/sub/utility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
} from "discord.js";
const suggWb = process.env.SUGGESTION ? new WebhookClient({ url: process.env.SUGGESTION }) : undefined;
import pkg from "#root/package.json" assert { type: "json" };
import setprefix from "../../admin/setprefix.js";

Check failure on line 16 in src/bot/commands/inputCommands/utility/sub/utility.ts

View workflow job for this annotation

GitHub Actions / Build

'setprefix' is declared but its value is never read.
const version = pkg.version;
export async function getSuggestion(interaction: ChatInputCommandInteraction, t: ReturnType<typeof getTranslator>) {
const client = interaction.client;
Expand Down Expand Up @@ -84,12 +85,19 @@ export async function getChangelog(interaction: ChatInputCommandInteraction) {
return `</${com!.name}${sub ? ` ${sub}` : ""}:${com!.id}>`;
};
const changes = [
`### Daily Quests
Added support for daily quests
- ${comMen("daily-quests")} command to check today's quests
- Added support for daily quests reminder which can be setup by using ${comMen("reminders")}
`### Skygame [BETA]
• Added eden reminders
- Introducing a new feature, Skygame. Hangman will be the first of these rolling out, slowly I might add more. This is in beta phase, so it may not work properly. Feedback appreciated
**Collectible**
- Added collectibles for spirits guide, you can now preview a spirits collectible, it's price and some additional informations
**Added more in-game events time in ${comMen("skytimes")} command/features**
- Added documentations for command to explain it's uses, with examples ([Docs](https://docs.skyhelper.xyz/commands))
-# Re-added support for prefix, most commands will also work for prefix, some won't. Keep in mind that support for prefix will not be given (no help menu), users are still encouraged to use slash commands, prefix is being added as a legacy feature. Default prefix is \`sh!\` which server managers can change using \`sh!setprefix\` command
-# Read about more detailed/previous changelogs [here](https://docs.skyhelper.xyz/changelogs)`,
];
Expand Down
2 changes: 1 addition & 1 deletion src/bot/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
USERS: 200000,
MEMBERS: 200000,
},
PREFIX: ".",
PREFIX: "sh!",

/** Channel ID where quest updates are sent which bot will parse and save to be used later */
QUEST_UPDATE_CHANNEL: {
Expand Down

0 comments on commit aedb1e4

Please sign in to comment.