|
| 1 | +import { BaseMessageOptions, EmbedBuilder } from "discord.js"; |
| 2 | + |
| 3 | +export const infoSubjects: Array<{ |
| 4 | + name: string; |
| 5 | + message: BaseMessageOptions; |
| 6 | +}> = [ |
| 7 | + { |
| 8 | + name: "offScreen", |
| 9 | + message: { |
| 10 | + content: "Having issues with Firebot starting off screen or in some other weird place?", |
| 11 | + embeds: [ |
| 12 | + new EmbedBuilder() |
| 13 | + .setColor(0xffbd00) |
| 14 | + .setTitle('Off Screen?') |
| 15 | + .setAuthor({ |
| 16 | + name: 'Firebot Support', |
| 17 | + iconURL: 'https://raw.githubusercontent.com/crowbartools/Firebot/master/src/gui/images/logo.png', |
| 18 | + }) |
| 19 | + .setDescription(` |
| 20 | +- Close Firebot |
| 21 | +- Press Windows + R to open the Windows Run dialog |
| 22 | +- Then paste\`%appdata%/Firebotv5\` into the box and press enter. |
| 23 | +- Delete the file: \`window-state.json\` |
| 24 | +`) |
| 25 | + ] |
| 26 | + } |
| 27 | + }, |
| 28 | + { |
| 29 | + name: "obssettings", |
| 30 | + message: { |
| 31 | + content: "OBS WebSocket related issues", |
| 32 | + embeds: [ |
| 33 | + new EmbedBuilder() |
| 34 | + .setColor(0xffbd00) |
| 35 | + .setTitle('OBS WebSocket Settings') |
| 36 | + .setAuthor({ |
| 37 | + name: 'Firebot Support', |
| 38 | + iconURL: 'https://raw.githubusercontent.com/crowbartools/Firebot/master/src/gui/images/logo.png', |
| 39 | + }) |
| 40 | + .setDescription(` |
| 41 | +firebot |
| 42 | +settings> scripts> manage scripts delete OBS WebSockets if you have it. |
| 43 | +
|
| 44 | +did you enable the server in OBS? |
| 45 | +- on OBS Tools>obs-websockets-server |
| 46 | +- is it enabled |
| 47 | +- did you set a password |
| 48 | +- what is the port? |
| 49 | +
|
| 50 | +did you in integrations set the same password and port from OBS in the obs config of Firebot |
| 51 | +- on firebot Left hand side Settings>integrations> OBS config |
| 52 | +are the ports the same? |
| 53 | +is this the same PC? |
| 54 | +- yes |
| 55 | +is the address set to 127.0.0.1 or localhost |
| 56 | +- no |
| 57 | +did you use the address provided by OBS it is a "best guess" and not always correct |
| 58 | +`) |
| 59 | + ] |
| 60 | + } |
| 61 | + }, |
| 62 | + { |
| 63 | + name: "installlog", |
| 64 | + message: { |
| 65 | + content: "We are requesting your install log to futher help you", |
| 66 | + embeds: [ |
| 67 | + new EmbedBuilder() |
| 68 | + .setColor(0xffbd00) |
| 69 | + .setTitle('Instal Logs') |
| 70 | + .setAuthor({ |
| 71 | + name: 'Firebot Support', |
| 72 | + iconURL: 'https://raw.githubusercontent.com/crowbartools/Firebot/master/src/gui/images/logo.png', |
| 73 | + }) |
| 74 | + .setDescription(` |
| 75 | +You can get to Firebot's data folder via File > Open Data Folder or by pressing "Win + R" and pasting: \`%appdata%\firebot\v5\` |
| 76 | +Please find the file named \`SquirrelSetup.log\` which is located in \`%localappdata%\Firebotv5\` |
| 77 | +and / or \`%localappdata%\Firebotv5\` |
| 78 | +and / or \`%localappdata%\SquirrelTemp\` |
| 79 | +and post it in this thread. |
| 80 | +`) |
| 81 | + ] |
| 82 | + } |
| 83 | + }, |
| 84 | + { |
| 85 | + name: "backuprequest", |
| 86 | + message: { |
| 87 | + content: "please send us your latest backup zip", |
| 88 | + embeds: [ |
| 89 | + new EmbedBuilder() |
| 90 | + .setColor(0xffbd00) |
| 91 | + .setTitle('OBS WebSocket Settings') |
| 92 | + .setAuthor ({ |
| 93 | + name: 'Firebot Support', |
| 94 | + iconURL: 'https://raw.githubusercontent.com/crowbartools/Firebot/master/src/gui/images/logo.png', |
| 95 | + }) |
| 96 | + .setDescription (` |
| 97 | +Here's how you can do that: |
| 98 | +- Open Firebot and go to **Settings** > **Backup** |
| 99 | +- Press **Backup Now** |
| 100 | +- Next, go to **Manage Backups** > **Open Backups Folder** |
| 101 | +- DM {user} the latest **backup.zip** in that folder |
| 102 | +`) |
| 103 | + ] |
| 104 | + } |
| 105 | + }, |
| 106 | + ]; |
0 commit comments