Skip to content

Commit

Permalink
feat: make question command as public
Browse files Browse the repository at this point in the history
  • Loading branch information
Behzad-rabiei committed Dec 24, 2024
1 parent 3584c7b commit 094e4c7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 27 deletions.
25 changes: 1 addition & 24 deletions bot/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions bot/src/commands/info/question.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default {
try {
await interactionService.createInteractionResponse(interaction, {
type: 5,
data: { flags: 64 },
// data: { flags: 64 },
})
RabbitMQ.publish(
RabbitMQQueue.DISCORD_HIVEMIND_ADAPTER,
Expand All @@ -37,7 +37,7 @@ export default {
data: {
content:
"Sorry, we couldn't process your request at the moment. Please report this issue to the TogetherCrew development team. Thank you for your patience!",
flags: 64,
// flags: 64,
},
})
}
Expand Down
2 changes: 1 addition & 1 deletion bot/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async function app(): Promise<void> {
await eventService.loadEvents()
await commandService.loadCommands()
await commandService.registerCommand()
await connectToMongoDB()
// await connectToMongoDB()
await connectToMB()
await connectToRabbitMQ()
server.listen(config.port, () => {
Expand Down

0 comments on commit 094e4c7

Please sign in to comment.