Bot for ping spamming someone.
All you need to do, is install discord.js using npm i [email protected]
or simply using setup.bat/setup.sh files.
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.
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;
You can start bot using node pinger.js
, or simply use start.bat
on windows, or start.sh
on linux.
Usage | Description |
---|---|
ping <@mention> | This will start pinging mentioned user. |
stop | This command will stop pinging. |
- 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.