0

Discord discordbotlist.com updater script

Free lines Bash 4 revisions 33 19 days ago 19 days ago
#!/bin/bash
# ./dbl-updater.sh <number of guilds> <number of users> <api key>
#
nice -n 10 curl -X POST -H "Content-Type: application/json" -H "Authorization: $3" -d  '{"guilds":$1,"users":$2}'

This is an updater script for discordbotlist.com.

You can save it as a bash script, e.g. dbl-updater.sh and chmod it (chmod u+x dbl-updater.sh) then use it from the command line to update your bots counts.

It may be convenient in some bots to do this, just remember to properly escape your shell arguments!!!

Requires curl.