A very simple Discord bot for people who (somehow) like to be spammed with pings
Once the ping
command has been run, the bot will ping you once every 1.5 seconds.
- Will it ever stop pinging me? No.
- So how do I stop it pinging me? Stop the bot.
- Can this bot spam-ping others? No, it will only ping whoever runs the
ping
command. - Is this a selfbot? No.
- Can I use this as a selfbot? No. The use of selfbots is forbidden by Discord.
Prerequisites
- git (optional) - download here
- Node.js (version 8 or higher*) - download here
- Head to https://discordapp.com/developers/applications/.
- Hit "Create an application".
- Go to the "Bot" page, and click "Add bot".
- Use a Discord bot permissions calculator, such as this one. Choose the permissions you'd like the bot to have.
- Copy and paste your bot's client ID into the permissions calculator (the client ID can be found on the Discord bot application page), and click "Add". You can use the link you'll be sent to as your bot's invite link, if you'd like to share it with others.
- Click the Clone or download button on this page, and select "Download ZIP", and unzip the files once downloaded. Alternatively, you can clone the repository using git.
- Open the "config.js.example" file in any text editor (e.g. Visual Studio Code, Atom, Notepad++ or Notepad), and replace
TOKEN-HERE
with your bot's token from the Discord bot application page, and replacePREFIX-HERE
with your desired command prefix for the bot. Do not change anything else in this file. - Rename the file to
config.js
. - Open a terminal window in the directory the (unzipped) bot files are in (e.g. Command Prompt/PowerShell on Windows, Terminal on macOS, etc).
- Run
npm install --production
. If you'd like to work on developing this bot, you should just runnpm install
.
- Once everything has been installed, run
npm start
ornode index.js
(both do the same thing) to start the bot. - To stop the bot, press Ctrl + C in the terminal session.
* this bot was built using Node.js 9.11.2, but versions 8.x.x and 10.x.x should work fine too. If you encounter any issues caused by the use of these versions, please open an issue.
Licensed under the MIT License.
Please use this bot at your own risk. I am not responsible and cannot be held liable if you somehow break Discord's ToS through the use of this bot.