✨ Started work on converting all commands to slash-commands
This commit is contained in:
5
utils/__init__.py
Normal file
5
utils/__init__.py
Normal file
@ -0,0 +1,5 @@
|
||||
"""A collections of utilities used by Gwendolyn and her functions"""
|
||||
|
||||
__all__ = ["Options"]
|
||||
|
||||
from .options import Options
|
9
utils/options.py
Normal file
9
utils/options.py
Normal file
@ -0,0 +1,9 @@
|
||||
class Options():
|
||||
def __init__(self):
|
||||
with open("options.txt","r") as f:
|
||||
data = f.read().splitlines()
|
||||
|
||||
self.testing = (data[0][8:].replace(" ","").lower() == "true")
|
||||
guildIds = data[1][17:].replace(" ","").split(",")
|
||||
self.guildIds = [int(i) for i in guildIds]
|
||||
self.admins = data[2][7:].replace(" ","").split(",")
|
Reference in New Issue
Block a user