소스 검색

small fix

Markus-Rost 4 년 전
부모
커밋
52efaee28f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      interactions/verify.js

+ 1 - 1
interactions/verify.js

@@ -225,7 +225,7 @@ function slash_verify(interaction, lang, wiki, channel) {
 						else message.content = reply + lang.get('verify.error_reply');
 						message.embeds = [];
 					}
-					if ( result.add_button ) message.components.push({
+					else if ( result.add_button ) message.components.push({
 						type: 1,
 						components: [
 							{