Fix: ?command and !command -> /command in three log responses

This commit is contained in:
Tayou 2022-09-27 17:53:26 +02:00 committed by GitHub
parent 49b5d7bcbd
commit 6944786ca4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ const javaAnalyzer: Analyzer = async (text) => {
return [ return [
'Wrong Java Version', 'Wrong Java Version',
`Please switch to the following: \`${ver}\`\nFor more information, type \`!java\``, `Please switch to the following: \`${ver}\`\nFor more information, type \`/tag java\``,
]; ];
} }
return null; return null;
@ -167,7 +167,7 @@ const optifineAnalyzer: Analyzer = async (text) => {
if (matchesOpti || matchesOptiFabric) { if (matchesOpti || matchesOptiFabric) {
return [ return [
'Possible Optifine Problems', 'Possible Optifine Problems',
'OptiFine is known to cause problems when paired with other mods. Try to disable OptiFine and see if the issue persists.\nCheck `!optifine` for more info & alternatives you can use.', 'OptiFine is known to cause problems when paired with other mods. Try to disable OptiFine and see if the issue persists.\nCheck \`/tag optifine\` for more info & alternatives you can use.',
]; ];
} }
return null; return null;
@ -230,7 +230,7 @@ export async function parseLog(s: string): Promise<EmbedBuilder | null> {
const embed = new EmbedBuilder() const embed = new EmbedBuilder()
.setTitle('pastebin.com detected') .setTitle('pastebin.com detected')
.setDescription( .setDescription(
'Please use https://mclo.gs or another paste provider and send logs using the Log Upload feature in PolyMC. (See ?log)' 'Please use https://mclo.gs or another paste provider and send logs using the Log Upload feature in PolyMC. (See \`/tag log\`)'
) )
.setColor(COLORS.red); .setColor(COLORS.red);
return embed; return embed;