🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

cambridge-bot

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

cambridge-bot

This bot started as a replacement for the Dank Memer `pls snipe` command, but is gradually evolving into a economy bot.

3.6.4
unpublished
latest
67

Supply Chain Security

100

Vulnerability

92

Quality

75

Maintenance

100

License

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created

Sniper

This bot started as a replacement for the Dank Memer pls snipe command, but is gradually evolving into a economy bot.

To self host

Prerequisites: Node.JS 16 and NPM (included with Node.JS) must be installed. Here is a link to the download page.

If you have Git installed:

  • Run git clone https://github.com/MajesticString/sniper.git
  • Run cd sniper
  • Run npm i to flood your hard drive with files needed for the bot.
  • create a slappey.json file, and include the following in it:
{
  "name": "sniper",
  "language": "typescript",
  "manager": "npm",
  "token": "Your token. Can be obtained through https://discord.com/developers/applications . Create an app, head to the bot tab, and hit add a bot. Then, hit copy underneath the token field. ",
  "prefix": ",,"
}
  • For most commands, you need firebase. Head to https://console.firebase.google.com/ and run through the process of making a new project.

  • Go to the "firestore" tab in the console once you have created the project and run through the steps of creating a database.

  • Right next to "Project Overview", hit the settings button then head to project settings.

  • Go to "Service Accounts", and under "firebase admin sdk", hit "Generate new private key" and save it in the project root (this folder.)

  • run npm run dev to start the bot (or yarn dev if you have yarn installed.

If you don't hav Git installed:

  • hit Code > download .zip
  • Extract the files
  • Open a command line (on windows, the app is command prompt)

Windows 11:

  • go into the directory with all the files
  • right click "sniper" in the directory bar, and hit copy as text.

Windows 10:

  • go into the directory with all the files in file explorer
  • shift-click the url bar and hit "copy as path"

Then:

  • in your command prompt, run cd (then right click in this text field to paste the url.)
  • Run npm i to flood your hard drive with files needed for the bot.
  • create a slappey.json file, and include the following in it:
{
  "name": "sniper",
  "language": "typescript",
  "manager": "npm",
  "token": "Your token. Can be obtained through https://discord.com/developers/applications . Create an app, head to the bot tab, and hit add a bot. Then, hit copy underneath the token field. ",
  "prefix": ",,"
}
  • For most commands, you need firebase. Head to https://console.firebase.google.com/ and run through the process of making a new project.

  • Go to the "firestore" tab in the console once you have created the project and run through the steps of creating a database.

  • Right next to "Project Overview", hit the settings button then head to project settings.

  • Go to "Service Accounts", and under "firebase admin sdk", hit "Generate new private key" and save it in the project root (this folder.)

  • run npm run dev to start the bot (or yarn dev if you have yarn installed.

FAQs

Package last updated on 26 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts