豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

iammarxg/sniper

 
 

Repository files navigation

Icon

Sniper

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

Setup

Node.js 16.6.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], snipe command will available on all of your app's guilds. It 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] it will be available only within the guild specified. It 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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%