File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ import { extractMessageExtremities } from "../util/discord.js";
7
7
import logError from "./logError.js" ;
8
8
import { getLoggingThread } from "../modules/logging/misc.js" ;
9
9
10
+ let timeouts : {
11
+ [ key : Snowflake ] :
12
+ | { callback : ( ) => Promise < Message < true > > ; timeout : NodeJS . Timeout }
13
+ | undefined ;
14
+ } = { } ;
15
+
10
16
export const DATABASE_THREAD = "databases" ;
11
17
12
18
const thread = await getLoggingThread ( DATABASE_THREAD ) ;
@@ -28,11 +34,6 @@ for (const message of (await thread.messages.fetch({ limit: 100 })).toJSON()) {
28
34
}
29
35
}
30
36
31
- let timeouts : {
32
- [ key : Snowflake ] :
33
- | { callback : ( ) => Promise < Message < true > > ; timeout : NodeJS . Timeout }
34
- | undefined ;
35
- } = { } ;
36
37
37
38
const contructed : string [ ] = [ ] ;
38
39
You can’t perform that action at this time.
0 commit comments