Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Latest commit

 

History

History
45 lines (31 loc) · 1.13 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.13 KB

Icon

Sniper

An easy to run simple bot that lets you snipe messages in your Discord server.

Setup

Node.js 16.9.0 or newer is required.

  1. Run:
$ git clone https://github.com/DankMemer/sniper.git
$ cd ./sniper
  1. Create config.json:
{
	"token": "<Your bot's token>",
	"application_id": "<Your application's id>"
}
  1. Run:
$ npm i
$ npm run register [guild id]
$ npm run bot

Note: Without specifying [guild id], the snipe commands will be available to all of your app's guilds. They will fan out slowly across all guilds and will be guaranteed to be updated in an hour (due to Discord's cache).

With [guild id] they will be available only within the guild specified and will update instantly.

Dockerfile instructions

An example Dockerfile has been included. Modify line 12 to change the guild id. If you want to make the bot global, simply comment out line 12.

License

MIT