Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
chore: fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazmi35 authored Feb 21, 2024
1 parent 39397ed commit 03f2926
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/framework/src/Lib/CommandContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class CommandContext {

return this.interaction.reply(options);
}
return this.message.client.sendMessage(options, this.message.channelId);
return this.message.client.sendMessage(options, this.message.channelId!);
}

public get guildId(): string | undefined {
Expand Down
1 change: 0 additions & 1 deletion services/kanao-gateway/src/Structures/KanaoGateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ export class NezuGateway extends EventEmitter {
await channel.bindQueue(queue, RabbitMQ.GATEWAY_QUEUE_STATS, route);
}

// TODO [2024-02-20]: Implement this
await channel.consume(queue, async message => {
if (!message) return;
const content = JSON.parse(message.content.toString()) as { route: string; };
Expand Down

0 comments on commit 03f2926

Please sign in to comment.