Move help text to its own directory

This commit is contained in:
Ethan Lane 2022-04-23 18:37:55 +01:00
parent 55f6ce8265
commit 11a0e7564a
Signed by: Vylpes
GPG key ID: EED233CC06D12504
6 changed files with 3 additions and 3 deletions

View file

@ -99,7 +99,7 @@ export default class Lobby extends Command {
}
private SendConfigHelp(context: ICommandContext) {
const helpText = readFileSync(`${process.cwd()}/data/lobbyConfig.txt`).toString();
const helpText = readFileSync(`${process.cwd()}/data/usage/lobby.txt`).toString();
const embed = new PublicEmbed(context, "Configure Lobby Command", helpText);
embed.SendToCurrentChannel();

View file

@ -79,7 +79,7 @@ export default class Config extends Command {
}
private async SendHelpText(context: ICommandContext) {
const description = readFileSync(`${process.cwd()}/data/config.txt`).toString();
const description = readFileSync(`${process.cwd()}/data/usage/config.txt`).toString();
const embed = new PublicEmbed(context, "Config", description);

View file

@ -151,7 +151,7 @@ export default class Role extends Command {
}
private SendConfigHelp(context: ICommandContext) {
const helpText = readFileSync(`${process.cwd()}/data/roleConfig.txt`).toString();
const helpText = readFileSync(`${process.cwd()}/data/usage/role.txt`).toString();
const embed = new PublicEmbed(context, "Configure Role Command", helpText);
embed.SendToCurrentChannel();