Commit b5d162e5 authored by nanahira's avatar nanahira

fix

parent 43a6fa94
Pipeline #13210 passed with stages
in 29 seconds
import { ConsoleLogger, Injectable } from '@nestjs/common';
import {
OnGuild,
OnChannel,
PutArg,
PutOption,
PutSession,
......@@ -26,7 +26,7 @@ export class CommandService extends ConsoleLogger {
return;
}
@OnGuild(...(process.env.TARGET_GUILDS?.split(',') || []))
@OnChannel(...(process.env.TARGET_GUILDS?.split(',') || []))
@UseCommand('rank [rank:string]', 'Ask for a rank')
async rankCommand(
@PutSession() session: Session,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment