discord.js の setActivity のまとめです。
ステータスの設定などにご利用ください。
目次
Playing (プレイ中)
client.on("ready", () => {
client.user.setActivity({ name: "げ〜む", type: ActivityType.Playing });
});
Watching (視聴中)
client.on("ready", () => {
client.user.setActivity({ name: "げ〜む", type: ActivityType.Watching });
});
Listening (再生中)
client.on("ready", () => {
client.user.setActivity({ name: "げ〜む", type: ActivityType.Listening });
});
Streaming (配信中)
client.on("ready", () => {
client.user.setActivity({ name: "げ〜む", type: ActivityType.Streaming });
});
Competing (参戦中)
client.on("ready", () => {
client.user.setActivity({ name: "げ〜む", type: ActivityType.Competing });
});
Custom (カスタムステータス)
client.on("ready", () => {
client.user.setActivity({ name: "げ〜む", type: ActivityType.Custom });
});
コメント