Merge pull request #26 from TayouVR/master
Fix: ?command and !command -> /command in three log responses
This commit is contained in:
commit
8e75f8824c
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue