WriterBot
Description
A simple paste bot written in java.
This bot uploads all kinds of text files sent in the channels to a paste service and provides you with the link of the paste.
Can be hosted as a Spigot plugin itself.
The bot is globally hosted on https://railway.app. But since its open source you can compile it or download a released jar from my github and host it on your own.
Wanna host the bot as a plugin or on your own?
We got you covered.
Head over to my github below and download the jars.
Invite The Bot:
https://writerbot.vectlabs.xyz
For Support related to the bot join my discord server.
Config:
The bot needs certain values set in config.yml to work.
DC_BOT_TOKEN - The discord bot token.
PASTEGG_API_KEY - The api key of your account at
https://paste.gg.
DB_HOST - The host url of the mysql database.
DB_DATABASE - The database name of the mysql database.
DB_USERNAME - The username of the mysql database.
DB_PASSWORD - The password url of the mysql database.
DB_TABLE - The table name url of the mysql database(it will create one with the name).
DB_PORT - The port of the mysql database.
Commands(Discord Admins Only)
/activatedapi [NameOfThePasteService]
Choose your prefered paste service for your discord server.
AvailableOptions:
Paste.gg -
https://paste.gg
HelpChat (default) -
https://paste.helpch.at
HasteBin-byMD5 -
https://paste.md-5.net
Official-HasteBin -
https://www.toptal.com/developers/hastebin/
/failsilently [Boolean]
AvailableOptions:
True - The bot will not display an error message when it fails to create a paste.
False - The bot will display an error message when it fails to create a paste.
/autodelete [Boolean]
AvailableOptions:
True - The bot will delete the attachment after it successfully uploads it to a paste service.\
False (default) - The bot will not delete the attachment after it successfully uploads it to a paste service.
/codeblockupload [Boolean]
AvailableOptions:
True - The bot will upload codeblocks to a paste service.\
False (default) - The bot will not upload codeblocks to a paste service.