Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Use the RocketBots (Roblox API) through your RocketApps account! We take care of maintaining your Cookie & storing it in a secure way. No more “Damn, I accidentally put my Glitch project on public!”

Notifications You must be signed in to change notification settings

trulyWHOOOP/RocketBots

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RocketBots Version

Use the RocketBots (Roblox API) through your RocketApps account! We take care of maintaining your Cookie & storing it in a secure way. No more “Damn, I accidentally put my Glitch project on public!”

Install

npm install rocketbots

Usage

Getting your team ID

  1. Head to rocketapps.bloxtech.tech.
  2. Sign up (or login) for an account.
  3. Create a team (Make sure to input the right Roblox group ID here, as this is the group ID that the module will use.)
  4. Once the team is created, press "manage" next to your team.
  5. Now head to the "integrations" tab.
  6. Press "Link Bot" button.
  7. In the input field, enter the cookie of your Robot and press the green "next" button.
  8. Confirm that we are linking the correct Roblox account.
  9. The page will now reload. Head to the "integrations" tab once again.
  10. On the bottom it will say "RocketApps also allows you to use your bots through our API. View the api here". Press the "here".
  11. You'll now be redirected to our API documentation. Head to the "settings" tab.
  12. Copy your team / loader ID here :-)

Requiring the module

const RocketBots = require('rocketbots');

(Make sure to run npm install rocketbots first! Else this will not work.)

Making a bot instance

const Bot = new RocketBots("YOUR_TEAM_ID_HERE")

Using a function

Bot.info().then((botInfo) => {
  console.log(botInfo);
});

Using a function (async)

const botInfo = await Bot.info();
console.log(botInfo);

Functions (and what they return)

Click to expand.

.info()

{
  id: '12345', // Bot Roblox id
  name: 'roblox', // Bot Roblox username
  created: '2021-03-01T21:51:27.097Z'
}

.getJoinRequests()

[
  {
      requester: {
          userId: 1234,
          username: 'roblox',
          displayName: 'roblox'
      },
      created: "2021-03-03T17:45:02.75Z"
  },
]

.approveJoinRequest(userId)

{
    success: true,
    response: "Successfully accepted users join request."
}

.declineJoinRequest(userId)

{
    success: true,
    response: "Successfully declined user from join requests."
}

.shout(message)

{
    success: true,
    response: "Successfully shouted to group."
}

.messageUser(userId,subject,message)

{
    success: true,
    response: "Successfully sent message to user."
}

.messageUser(userId,subject,message)

{
    success: true,
    response: "Successfully sent message to user."
}

.rankInGroup(userId,rankId)

{
    success: true,
    response: "Successfully ranked user in group."
}

.demote(userId,groupID) (initially contributed by @ItsMrReals)

{
    success: true,
    response: "Successfully ranked user in group."
}

.promote(userId,groupID) (initially contributed by @ItsMrReals)

{
    success: true,
    response: "Successfully ranked user in group."
}

.exile(userId)

{
    success: true,
    response: "Successfully exiled user from group."
}

Support

You can join our Discord server and open a ticket for support.

About

Use the RocketBots (Roblox API) through your RocketApps account! We take care of maintaining your Cookie & storing it in a secure way. No more “Damn, I accidentally put my Glitch project on public!”

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%