mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-10-31 08:47:54 +00:00
10 lines
265 B
Python
Executable file
10 lines
265 B
Python
Executable file
categories = ['foul-language', 'greening', 'rude-behavior', 'bad-name', 'hacking']
|
|
|
|
def isValidCategory(value):
|
|
return value < len(categories)
|
|
|
|
def isValidCategoryName(value):
|
|
return value in categories
|
|
|
|
def getCategory(value):
|
|
return categories[value]
|