File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " backend" ,
3
3
"scripts" : {
4
4
"build" : " node build.mjs" ,
5
+ "check" : " tsc --noEmit" ,
5
6
"bot" : " npm run build && node --enable-source-maps out/bot/main.js" ,
6
7
"http" : " npm run build && node --enable-source-maps out/http/main.js" ,
7
8
"migrate" : " npm run build && node --enable-source-maps out/data/migrate.js"
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ export function wrap_listener<E extends keyof ClientEvents>(
6
6
event : E ,
7
7
listener : ( ...args : ClientEvents [ E ] ) => void | Promise < void >
8
8
) {
9
- console . trace ( "" ) ;
10
9
return async ( ...args : ClientEvents [ E ] ) => {
11
10
let guild : string | null = null ;
12
11
Original file line number Diff line number Diff line change @@ -28,9 +28,8 @@ export const core_plugin = define_plugin({
28
28
29
29
for ( const plugin of get_plugins ( ) ) {
30
30
if ( plugin . listeners !== undefined ) {
31
- for ( const listener of plugin . listeners ) {
31
+ for ( const listener of plugin . listeners )
32
32
install_wrapped_listener ( listener . type , listener . listener ) ;
33
- }
34
33
}
35
34
}
36
35
} ,
You can’t perform that action at this time.
0 commit comments