bancho.py icon indicating copy to clipboard operation
bancho.py copied to clipboard

Persistent clan invitations

Open cmyui opened this issue 3 years ago • 4 comments

As a clan owner, I'd like to be able to

  • create persistent invitation links
  • send these invitations to other users
  • specify which clan roles are able to invite others (owner, officers, members)
  • manage the existing set of pending invitations

cmyui avatar Mar 21 '22 04:03 cmyui

new db table with autoincrement ids for each invitation. Works like discord’s server invitation (you can limit you can join and how long it lasts)

memsdm05 avatar Mar 21 '22 05:03 memsdm05

new db table with autoincrement ids for each invitation. Works like discord’s server invitation (you can limit you can join and how long it lasts)

yep, may want a hash for the actual invite code itself. might be doable in pure sql?

cmyui avatar Mar 21 '22 05:03 cmyui

on second thought invites should be a random string id to prevent iterating over a bunch of ids

memsdm05 avatar Mar 21 '22 05:03 memsdm05

yup, that's what i was getting at with the hash

cmyui avatar Mar 21 '22 05:03 cmyui