From b47cb825d39abfb2aa78326501619933b6aa9cbd Mon Sep 17 00:00:00 2001 From: toast-ts <96593068+toast-ts@users.noreply.github.com> Date: Thu, 16 May 2024 09:11:46 +1000 Subject: [PATCH] Update linkMapping --- src/commands/faq.ts | 4 ++-- src/helpers/FAQHelper.ts | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/commands/faq.ts b/src/commands/faq.ts index 3325587..0499f50 100644 --- a/src/commands/faq.ts +++ b/src/commands/faq.ts @@ -5,10 +5,10 @@ export default class FAQ { static run(_client: TClient, interaction: Discord.ChatInputCommandInteraction<'cached'>){ ({ srp: ()=>FAQHelper.reply(interaction, null, `[Ballyspring](<${FAQHelper.linkMapping.ballyspring}>) is the map that is used in Survival Roleplay S4.\n\n> ℹ️ __Note__\n> The map won't look closely like the one in SRP as it is privately edited version of the public map.`, null, false), - vtcR: ()=>interaction.reply(FAQHelper.youCanGetRole('vtcmember', 'truck')+'\n*VTC skin can also be found in <#801975222609641472> as well.*'), + vtcR: ()=>interaction.reply(FAQHelper.youCanGetRole('vtcmember', 'truck')+`\n*VTC skin can also be found in the [VTC announcements channel](<${FAQHelper.linkMapping.vtcPaintjob}>).*`), mpR: ()=>interaction.reply(FAQHelper.youCanGetRole('mpplayer', 'tractor')), ytscam: ()=>FAQHelper.reply(interaction, 'Scammers in YouTube comments section', 'If you ever see a comment mentioning a giveaway or anything else, **it\'s a scam!**\nYou should report it to YouTube and move on or ignore it.\nP.S: They\'re on every channel and not just Daggerwin.', FAQHelper.CDN('YTScam'), true), - steamscam: ()=>FAQHelper.reply(interaction, 'Steam account report scam', `If you received a DM about this, please report it to Discord Moderators or open a [ticket](${FAQHelper.linkMapping.staffTicket})`, FAQHelper.CDN('SteamScam'), true), + steamscam: ()=>FAQHelper.reply(interaction, 'Steam account report scam', `If you received a DM about this, please report it to Discord Moderators or open a [ticket](${FAQHelper.linkMapping.discordModTicket})`, FAQHelper.CDN('SteamScam'), true), fsVerifyGame: ()=>FAQHelper.reply(interaction, 'Verifying your game files', `You can verify your game files if you experience any issues with your game.\n${FAQHelper.verifyGameFiles}`, FAQHelper.CDN('Steam-Epic-VerifyGamesLocation'), true), fsShader: ()=>FAQHelper.reply(interaction, 'Clearing your shader cache folder', 'If your game keeps crashing shortly after opening your game, then the shaders might be an issue.\nTo resolve this, you can go to `Documents/My Games/FarmingSimulator2022` and delete the folder called `shader_cache`', FAQHelper.CDN('shader_cache-Location'), true), fsLogfile: ()=>FAQHelper.reply(interaction, 'Uploading your log file', 'You can find `log.txt` in `Documents/My Games/FarmingSimulator2022` and upload it into <#596989522395398144> along with your issue, so people can assist you further and help you resolve.', FAQHelper.CDN('log_txt-Location'), true), diff --git a/src/helpers/FAQHelper.ts b/src/helpers/FAQHelper.ts index 5d84f80..88ff6eb 100644 --- a/src/helpers/FAQHelper.ts +++ b/src/helpers/FAQHelper.ts @@ -10,7 +10,7 @@ export default class FAQHelper { else return interaction.reply(message).catch(err=>interaction.reply(this.errorMsg+'\n'+err)) } public static CDN=(filename:string)=>'https://cdn.toast-server.net/daggerwin/'+filename+'.png'; - public static youCanGetRole=(role:string, roleEmoji:string)=>`You can get the ${MessageTool.formatMention(config.dcServer.roles[role], 'role')} role from <#802283932430106624> by clicking :${roleEmoji}: button on a webhook's message.`; + public static youCanGetRole=(role:string, roleEmoji:string)=>`You can get the ${MessageTool.formatMention(config.dcServer.roles[role], 'role')} role from <#802283932430106624> by clicking :${roleEmoji}: on a webhook's message.`; public static readonly verifyGameFiles = this.ansiCodeblock( 'Steam (Top panel)', '1. Go to your game library and right click on Farming Simulator 22', @@ -25,6 +25,7 @@ export default class FAQHelper { ) public static readonly linkMapping = { ballyspring: 'https://www.farming-simulator.com/mod.php?mod_id=270745', - staffTicket: 'https://discord.com/channels/468835415093411861/942173932339986472/1054129985788596385', + discordModTicket: 'https://discord.com/channels/468835415093411861/942173932339986472/1054129985788596385', + vtcPaintjob: 'https://discord.com/channels/468835415093411861/801975222609641472/1165673285460164739' } }