Skip to content

Commit 876f188

Browse files
committed
feat: add debug info command
1 parent bb857dd commit 876f188

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import { getBaseEmbed, InfoTopic } from '../info-helpers';
2+
3+
export const debugInfo: InfoTopic = {
4+
name: 'Debug Info',
5+
message: {
6+
content:
7+
'To help us assist you more effectively, please provide your debug info.',
8+
embeds: [
9+
getBaseEmbed().setTitle('Debug Info').setDescription(`
10+
To copy your Firebot debug info:
11+
1. In Firebot, click on the **Help** menu in the top menu bar.
12+
2. Select **Copy Debug Info...**
13+
14+
This will copy useful diagnostic information to your clipboard.
15+
16+
Please paste the copied debug info in this thread so we can better assist you.
17+
`),
18+
],
19+
},
20+
};

src/interactions/commands/handlers/info/topics/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import { tuts } from './tutorials';
1616
import { InfoTopic } from '../info-helpers';
1717
import { arm64InstallError } from './arm64';
1818
import { overlayIssues } from './overlay-issues';
19+
import { debugInfo } from './debug-info';
1920

2021
export const infoTopics: Array<InfoTopic> = [
2122
authIssues,
@@ -35,4 +36,5 @@ export const infoTopics: Array<InfoTopic> = [
3536
tuts,
3637
arm64InstallError,
3738
overlayIssues,
39+
debugInfo
3840
];

0 commit comments

Comments
 (0)