我正在尝试让我的机器人在它上线/准备好的时候给我发一条直接消息
我曾尝试使用bot.guilds.members.find("id", "my id")和bot.guilds.members.get("id", "my id")等函数,但它只返回find/get is not a function
bot.on("ready", async message => {
bot.guilds.members.find("id", "my id")
});
我想让机器人在上
当我试图带一个词到行的开头,它跳到了上线,但我不想要它。我使用制表符缩进代替空格,并希望我不需要使用空格作为缩进。
示例:我用|字符指明了游标的位置
class MyClass {
int abc;
|// comment
}
当我按backspace键时,光标所在的行跳转到最上线,新代码如下所示
class MyClass {
int abc;|// comment
}
但我想让它看起来像这样
class MyClass {
int abc;
|// comment
}