Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OP Groups are now fully managed by Neon
All OP permissions have a corresponding Neon setting. The opUpdateAll script now discriminates between paid and comped members Staff no longer need comped membership records in Neon for access
- Loading branch information
Showing
4 changed files
with
259 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#Simple script to fetch the Neon account of a single member | ||
|
||
import neonUtil | ||
import logging | ||
import sys | ||
from pprint import pprint | ||
|
||
logging.basicConfig(level=logging.INFO) | ||
|
||
if len(sys.argv) != 2 or not str(sys.argv[1]).isnumeric(): | ||
print(f'''Usage: {sys.argv[0]} <integer NeonID>''') | ||
else: | ||
neon_account = neonUtil.getMemberById(str(sys.argv[1]), detailed = True) | ||
pprint(neon_account) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.