当我使用UTF8编码文件时,我将无法再使用表情符号。
if (_local.temp.pycx !== undefined) {
_local.temp.pycx.reactions.find(x.emoji === "ðŸ").remove(user);
};
if (_local.lobby.players.length === 3) {
_local.temp.pycx = await channel.send("React to this message to start the game. [Everyone must vote to start]");
_local.temp.pycx.react("ðŸ");
addReactable(_local.temp.pycx,actions.startGame,"ðŸ");
};
如果文件在ANSI中,则此代码的工作方式类似于超级按钮。但我需要UTF8 ...
我尝试放?,但不起作用... Unknown Emoji
如何使它与UTF8编码一起使用?