Skip to content
A discord bot for >!spoilers!<
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.eslintrc
.gitignore
README.md
about.discord.md
index.js
package.json
yarn.lock

README.md

>!spoilerbot!<

makes >!spoilers!< for text you don't want >!other people to see!<

makes Spoiler (hover/click) for text you don't want Spoiler

links

discordbots.org
Invite Me
Support Server
Source Code
Website

usage

Put a spoiler in any message by putting >! !< around the spoiler. You can have as many spoilers as you want in a message.

errors

Spoilers cannot be used in PMs.
Spoilerbot is intended for use in servers, not PMs. Invite it to a server.


Spoilers are not available in #channel because I do not have permission to send messages there.
Spoilerbot does not have permission to send messages in the channel you tried. Some channels have restrictions on who can send messages there. If the channel does not have custom permissions set, make sure spoilerbot has permission in server settings.


Spoilers are not available in this server because I do not have permission to manage messages.
Spoilerbot requires permission to manage messages so it can delete the original message with the unmasked spoiler. Give it permission in server settings.


Spoilers are not available in #channel because I do not have permission to manage messages.
That channel has channel permissions set such that spoilerbot is not allowed to send messages there. Edit channel permissions with the Edit Channel button.


That spoiler is too close to 2000 characters.
Converting messages into spoilers adds extra characters, meaning that even if your message was <2000 characters it may go over the limit after being masked. Try sending your message in multiple parts or shortening it.


Join the support server or submit a bug report on github if there are any problems you can't find a solution to.

running yourself

# download
git clone https://github.com/pfgithub/spoilerbot.git
cd spoilerbot

# setup
yarn install

Create secret.json with

{
  "token": "Your Bot Token",
  "firebasekey": "AIzaSyCK6kq9FxWLYdnlMg9WpspX_9DK-WjObAo
}

# run
node index.js
You can’t perform that action at this time.