nova-cord/cord/keys.py

5 lines
85 B
Python

import secrets
async def create(user):
return 'nv-' + secrets.token_urlsafe(32)