Why isn't PermissionsBitField.Flags.Administat admin?

My code
const invite = client.generateInvite({
permissions: PermissionsBitField.Flags.Administator,
scopes: ['bot'],
});
const invite = client.generateInvite({
permissions: PermissionsBitField.Flags.Administator,
scopes: ['bot'],
});
It returns: https://discord.com/api/oauth2/authorize?client_id=883125551139799070&scope=bot (not advertising)
3 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
monbrey
monbrey3y ago
Because that is the incorrect spelling of Administrator
d.js docs
d.js docs3y ago
property Permissions#bitfield Bitfield of the packed bits
Want results from more Discord servers?
Add your server