Skip to content
Discussion options

You must be logged in to vote

If you don't mind toying around with the database, currently you create invites by creating new documents in the invites collection.

A simple way to do this would be:

docker-compose exec database mongosh

Then insert a new invite code:

use revolt
db.invites.insertOne({ _id: "invite code" })

Or create several:

db.invites.insertMany([{ _id: "a" }, { _id: "b" }])

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DeclanChidlow
Comment options

Answer selected by insertish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants