我試圖讓每次有人提到一個字符串時都會增加一個數字的bot。到目前爲止,我只能讓它增加一次,而其他答覆都保持在同一個數字。它在2017年宣佈,但只會在2018年找到字符串時回覆。我知道它很小但我不知道,但我不知道。 for comment in r.subreddit('test').comments(limit = 500):
mentions = 2017
if "st
的通用轉換方法這裏就是我想要做的 string MyEnumType = "SpaghettiDiameter";
string MyEnumValue = "NEEDS_ALL_SAUCE";
//this is not exact syntax - only to represent the logic
//MyEnumValue is converted from string t