v2.0.1
- Args - Better configs - Other shit too, idr
This commit is contained in:
@@ -2,8 +2,13 @@ import sound
|
||||
import configparser
|
||||
from os.path import exists
|
||||
|
||||
PDB_ACCEPTABLE_HANDLERS = ['gqrx', 'op25']
|
||||
PDB_KNOWN_BOT_IDS = [756327271597473863, 915064996994633729, 943742040255115304]
|
||||
PDB_ACCEPTABLE_HANDLERS = {'gqrx': {
|
||||
'Modes': ['wfm', 'fm']
|
||||
},
|
||||
'op25': {
|
||||
'Modes': ['d', 'p25']
|
||||
}}
|
||||
PDB_KNOWN_BOT_IDS = {756327271597473863: "Greada", 915064996994633729: "Jorn", 943742040255115304: "Brent"}
|
||||
|
||||
|
||||
def check_if_config_exists():
|
||||
@@ -172,7 +177,8 @@ def get_handler():
|
||||
handler = str(input(f"Please enter the name of the handler you would like to use:\t"))
|
||||
if handler in PDB_ACCEPTABLE_HANDLERS:
|
||||
return handler
|
||||
elif handler == '':
|
||||
elif handler == ['', "none"]:
|
||||
handler = "None"
|
||||
return handler
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user