We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b38623 commit d089debCopy full SHA for d089deb
src/api/forumAPI.ts
@@ -1,4 +1,6 @@
1
// Functionality to interact with the forum API
2
+import dotenv from 'dotenv';
3
+dotenv.config();
4
5
import { ForumTopic } from "../types/ForumWebhookTypes";
6
src/server/forumWebhook.ts
@@ -5,6 +5,8 @@ import express from 'express';
import { htmlToText } from 'html-to-text';
import { getTopic } from '../api/forumAPI';
7
import axios from 'axios';
8
9
10
11
const FORUM_SUGGESTION_FORUM_ID = 9063; // The ID of the forum for suggestions.
12
const SUGGESTION_ICON = 'https://staticdelivery.nexusmods.com/images/2295/31179975-1744285207.png'; // The icon for the suggestion forum.
0 commit comments