Code Monkey home page Code Monkey logo

discordpinger's Introduction

DiscordPinger

Bot for ping spamming someone.

Installation

All you need to do, is install discord.js using npm i [email protected] or simply using setup.bat/setup.sh files.

Setup

If you want to use DiscordPinger, you will need to rename config.js.example to config.js.

Then, open config.js and fill it with needed informations.

config.js:
const config = {

  "prefix": "", //Add your prefix here

  "ownerOnly": true, //If set to true, only bot owner can control Pinger. If set to false, everyone can use Pinger.

  "ownerID": "", //Id of bot owner for "ownerOnly" function.

  "channelName": "", //Name of channel, where will be all pings sent.

  "pingInterval": "1000", //Time in ms (miliseconds). 1000 recommended - If 1000ms (1s), bot will send ping every 1000ms (1s).

  "token": "" //Bot token from discord app.

}

module.exports = config;

Running DiscordPinger

You can start bot using node pinger.js, or simply use start.bat on windows, or start.sh on linux.

Commands

Usage Description
ping <@mention> This will start pinging mentioned user.
stop This command will stop pinging.

To-do

  • Add stop to stop pinging.
  • If channel does not exist, or was deleted, create new one.
  • Prevent stopping, when bot does not pinging.
  • Create DBM (Discord Bot Maker) version of DiscordPinger: here.

If you will find bug, create an issue and describe it.

Feel free to make Pull request with new features, or fixes.

discordpinger's People

Contributors

idkwhosthis avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.