basharkey / disboard-auto-bump

Automatically bump your server on Disboard using an alt account and a headless Discord client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disboard Bump

This playbook was designed to operate on a Debian 11 LXC. It will run the Discord client in a headless X session and automatically bump your server on Disboard every 124 minutes.

Install

This app requires your Discord token in order to authenticate to the Discord client. You must obtain your leveldb directory and place it in the root of this directory. This guide assumes you have Discord installed as a Flatpak on a Linux host:

  1. Delete any existing Discord configuration
rm -rf ~/.var/app/com.discordapp.Discord/
  1. Run Discord to regernate the app directory
flatpak run com.discordapp.Discord
  1. Login to Discord to generate a new token

  2. Kill Discord

flatpak kill com.discordapp.Discord
  1. Copy your Discord leveldb directory containing your token to the root of this repository
cp -r ~/.var/app/com.discordapp.Discord/config/discord/Local\ Storage/leveldb/ ./
  1. Delete your Discord configuration again to preserve your token (If you logout of the client your token will be invalidated)
rm -rf ~/.var/app/com.discordapp.Discord/
  1. Update variables in hosts.yml

  2. Run make install to run the playbook

About

Automatically bump your server on Disboard using an alt account and a headless Discord client

License:GNU General Public License v3.0


Languages

Language:Shell 67.3%Language:Jinja 27.7%Language:Makefile 4.9%