mirror of
https://github.com/pacnpal/markov-discord.git
synced 2025-12-20 11:01:04 -05:00
Fix vesion name output
This commit is contained in:
@@ -12,6 +12,7 @@ import Markov, {
|
|||||||
import { createConnection } from 'typeorm';
|
import { createConnection } from 'typeorm';
|
||||||
import { MarkovInputData } from 'markov-strings-db/dist/src/entity/MarkovInputData';
|
import { MarkovInputData } from 'markov-strings-db/dist/src/entity/MarkovInputData';
|
||||||
import { APIInteractionGuildMember } from 'discord-api-types';
|
import { APIInteractionGuildMember } from 'discord-api-types';
|
||||||
|
import type { PackageJsonPerson } from 'types-package-json';
|
||||||
import L from './logger';
|
import L from './logger';
|
||||||
import { Channel } from './entity/Channel';
|
import { Channel } from './entity/Channel';
|
||||||
import { Guild } from './entity/Guild';
|
import { Guild } from './entity/Guild';
|
||||||
@@ -345,7 +346,9 @@ function helpMessage(): Discord.MessageOptions {
|
|||||||
`${config.messageCommandPrefix} tts or /${messageCommand.name} tts: True`,
|
`${config.messageCommandPrefix} tts or /${messageCommand.name} tts: True`,
|
||||||
`Runs the ${config.messageCommandPrefix} command and reads it with text-to-speech.`
|
`Runs the ${config.messageCommandPrefix} command and reads it with text-to-speech.`
|
||||||
)
|
)
|
||||||
.setFooter(`${packageJson().name} ${getVersion()} by ${packageJson().author}`);
|
.setFooter(
|
||||||
|
`${packageJson().name} ${getVersion()} by ${(packageJson().author as PackageJsonPerson).name}`
|
||||||
|
);
|
||||||
return {
|
return {
|
||||||
embeds: [embed],
|
embeds: [embed],
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user