Skip to content

Commit

Permalink
Merge pull request #152 from TogetherCrew/debug-hivemind
Browse files Browse the repository at this point in the history
[DEBUG]
  • Loading branch information
Behzad-rabiei authored Jan 9, 2024
2 parents 8eca280 + 2fe4840 commit 86e7890
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/info/question.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { interactionService } from '../../services'
import RabbitMQ, { Event, Queue as RabbitMQQueue } from '@togethercrew.dev/tc-messagebroker';
import { ChatInputCommandInteraction_broker } from '../../interfaces/Hivemind.interface';
import { handleBigInts, removeCircularReferences } from '../../utils/obj';
import logger from 'src/config/logger';
import logger from '../../config/logger';
export default {
data: new SlashCommandBuilder()
.setName('question')
Expand All @@ -16,7 +16,7 @@ export default {

async execute(interaction: ChatInputCommandInteraction_broker) {
try {
logger.debug('Question!!!!!!!!!!!')
logger.info('Question!!!!!!!!!!!')
// TogetherCrew-Leads: 983364577096003604 TogetherCrew-Contributors: 983364691692748832
if (!(interaction.member?.roles.cache.has("983364577096003604") || interaction.member?.roles.cache.has("983364691692748832"))) {
return await interactionService.createInteractionResponse(interaction, { type: 4, data: { content: 'You do not have the required role to use this command!', flags: 64 } })
Expand Down

0 comments on commit 86e7890

Please sign in to comment.