Set activity will allow you to customize your bot status and activity. This folder Is split between three files. Two are based on activities customization and one Is based on status customization.
- npm i discord.js
- npm i node.js
You'll be able to choose between 4 types of activities:
🎥 Streaming
- Streaming will allow you to set your bot activity to streaming.
- Link to repo
- Code:
game: {
name: 'Streaming guys !',
type: "STREAMING",
url: "https://www.twitch.tv/shedhatch"
}
🔊 Listening
- Listening will allow you to set your bot activity to listening.
- Link to repo
- Code:
bot.user.setActivity("Placeholder_text", {type: 2});
👀 Watching
- Watching will allow you to set your bot activity to watching.
- Link to repo
- Code:
bot.user.setActivity("Placeholder_text", {type: 3});
🎮 Playing
- Playing will allow you to set your bot activity to playing.
- Link to repo
- Code:
bot.user.setActivity("Placeholder_text", {type: 1});
You'll be able to choose between 4 types of status:
🟢 Online
- Online will allow you to set your bot status to online.
- Link to repo
- Code:
bot.user.setStatus("online");
🟠 Idle
- Idle will allow you to set your bot status to Idle.
- Link to repo
- Code:
bot.user.setStatus("idle");
🔴 Dnd
- Dnd will allow you to set your bot status to Do Not Disturb.
- Link to repo
- Code:
bot.user.setStatus("dnd");
⚫ Offline
- Offline will allow you to set your bot status to offline.
- Link to repo
- Code:
bot.user.setStatus("offline");
- The following code Is not up to date (running under V11)
- You can learn more V12 It by following this link