File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ import { membersRepositoryKey } from '../model/member.js';
42
42
import { randomGeneratorKey } from '../model/random-generator.js' ;
43
43
import { roleRepositoryKey } from '../model/role.js' ;
44
44
import { voiceRoomControllerKey } from '../model/voice-room-controller.js' ;
45
- import { CommandRunner } from '../runner/command.js' ;
45
+ import { CommandRunner , commandRunnerKey } from '../runner/command.js' ;
46
46
import {
47
47
EmojiResponseRunner ,
48
48
MessageResponseRunner ,
@@ -164,6 +164,7 @@ if (features.includes('MESSAGE_UPDATE')) {
164
164
165
165
const commandProxy = new DiscordCommandProxy ( client , PREFIX ) ;
166
166
const commandRunner = new CommandRunner ( commandProxy ) ;
167
+ registry . add ( commandRunnerKey , commandRunner ) ;
167
168
const stats = new DiscordMemberStats ( client , GUILD_ID as Snowflake ) ;
168
169
registry . add ( memberStatsKey , stats ) ;
169
170
registry . add ( membersRepositoryKey , stats ) ;
You can’t perform that action at this time.
0 commit comments