This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
絵文字の定数化
#62
Replies: 1 comment 6 replies
-
そうですね 命名どうしよう
|
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
cogs/on_message.py の中で
\U0000274c
という記述がいくつか見えるんだけど、どこかに定数でもたせたほうが変更しやすいと思う。あと、これは何の絵文字で何を意味してるのかが全くわからない。
そのためにも名前をつけたいと感じる。
該当箇所:
https://github.com/Huyu2239/ExpandBot/blob/f28edd6de2954a6bbb2a4a37cff8b61103f80353/cogs/on_message.py#L103
https://github.com/Huyu2239/ExpandBot/blob/f28edd6de2954a6bbb2a4a37cff8b61103f80353/cogs/on_message.py#L107
Beta Was this translation helpful? Give feedback.
All reactions