Skip to content

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.

Notifications You must be signed in to change notification settings

Shedhatch/Set-activity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Set activity

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.

alt text

Modules

- npm i discord.js
- npm i node.js

How to use Set-activity ?

Activities

You'll be able to choose between 4 types of activities:

🎥 Streaming

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

  • Listening will allow you to set your bot activity to listening.
  • Link to repo
  • Code:
bot.user.setActivity("Placeholder_text", {type: 2});
👀 Watching

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

  • Playing will allow you to set your bot activity to playing.
  • Link to repo
  • Code:
bot.user.setActivity("Placeholder_text", {type: 1});

Status

You'll be able to choose between 4 types of status:

🟢 Online

Online

  • Online will allow you to set your bot status to online.
  • Link to repo
  • Code:
 bot.user.setStatus("online");
🟠 Idle

Idle

  • Idle will allow you to set your bot status to Idle.
  • Link to repo
  • Code:
 bot.user.setStatus("idle");
🔴 Dnd

Dnd

  • Dnd will allow you to set your bot status to Do Not Disturb.
  • Link to repo
  • Code:
 bot.user.setStatus("dnd");
⚫ Offline

Offline

  • Offline will allow you to set your bot status to offline.
  • Link to repo
  • Code:
 bot.user.setStatus("offline");

Version V11 -> V12

  • The following code Is not up to date (running under V11)
  • You can learn more V12 It by following this link

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published