Skip to content

Commit

Permalink
refactor: 디스코드 테스트 리스너를 개발서버에서만 활성화하도록 변경 (#145)
Browse files Browse the repository at this point in the history
feat: 운영환경에서는 테스트 리스너 비활성화
  • Loading branch information
uwoobeat authored Feb 26, 2024
1 parent 77dd338 commit 4ce6dde
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package com.gdschongik.gdsc.global.discord.listener;

import static com.gdschongik.gdsc.global.common.constant.EnvironmentConstant.*;

import com.gdschongik.gdsc.global.annotation.ConditionalOnProfile;
import com.gdschongik.gdsc.global.discord.Listener;
import lombok.extern.slf4j.Slf4j;
import net.dv8tion.jda.api.entities.Message;
Expand All @@ -9,6 +12,7 @@
import net.dv8tion.jda.api.hooks.ListenerAdapter;

@Slf4j
@ConditionalOnProfile({LOCAL, DEV})
@Listener
public class PingpongListener extends ListenerAdapter {

Expand Down

0 comments on commit 4ce6dde

Please sign in to comment.