Created
March 16, 2020 06:24
-
-
Save hwahyang1/98bd9fcfeeae79466837e3eccda827f7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 메시지 내용에서 "!명령어"를 "가나다라"로 바꾼 다음, 바꾼 내용을 message_replaced 변수에 담습니다. | |
# "가나다라"를 ""로 두시면 메시지 내용에서 "!명령어"를 지워버리는 구문이 됩니다. | |
message_replaced = message.content.replace("!명령어", "가나다라") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment