spacebarchat / server

Spacebar server - A reimplementation of the Discord.com backend, built with Typescript and love
https://spacebar.chat
GNU Affero General Public License v3.0
1.46k stars 252 forks source link

how do i give myself badges? #276

Closed commandarmy closed 3 years ago

commandarmy commented 3 years ago

HOW DO I GIVE MYSELF BADGES?

commandarmy commented 3 years ago

also server badges (like partner,verified,etc

LukasDoesDev commented 3 years ago

answer: edit database

commandarmy commented 3 years ago

how

SamuelScheit commented 3 years ago

you can either use mongo shell and execute this:

use fosscord
db.users.updateMany({}, {$set: {flags: 197631}})

or download mongodb compass connect to your database and set the flags of the user to 197631 or your wait until we finish the admin dashboard to easily edit the badges

commandarmy commented 3 years ago

Capture How do i get what i circled

commandarmy commented 3 years ago

you can either use mongo shell and execute this:

use fosscord
db.users.updateMany({}, {$set: {flags: 197631}})

or download mongodb compass connect to your database and set the flags of the user to 197631 or your wait until we finish the admin dashboard to easily edit the badges

how do i change the cluster

SamuelScheit commented 3 years ago

you can try entering this as a connection string:

mongodb://localhost/fosscord
commandarmy commented 3 years ago

worked thx

commandarmy commented 3 years ago

wait might of found something one sec

commandarmy commented 3 years ago

it showed an error

SamuelScheit commented 3 years ago

can you send a screenshot of it?

commandarmy commented 3 years ago

suwjdriuejf

commandarmy commented 3 years ago

btw the blured thing is an ip

commandarmy commented 3 years ago

that might be mine

SamuelScheit commented 3 years ago

Did you setup a mongo database? how did you even setup the fosscord server?

commandarmy commented 3 years ago

idk lol

commandarmy commented 3 years ago

its online lol