disabled thread and added password arg

main
Chris Nutter 2024-05-10 11:36:48 -07:00
parent af6d4c2711
commit 3c956d269e
1 changed files with 2 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class Discollama:
permissions=discord.Permissions( permissions=discord.Permissions(
read_messages=True, read_messages=True,
send_messages=True, send_messages=True,
create_public_threads=True, create_public_threads=False,
), ),
scopes=['bot'], scopes=['bot'],
), ),
@ -166,6 +166,7 @@ def main():
parser.add_argument('--redis-host', default=os.getenv('REDIS_HOST', '127.0.0.1'), type=str) parser.add_argument('--redis-host', default=os.getenv('REDIS_HOST', '127.0.0.1'), type=str)
parser.add_argument('--redis-port', default=os.getenv('REDIS_PORT', 6379), type=int) parser.add_argument('--redis-port', default=os.getenv('REDIS_PORT', 6379), type=int)
parser.add_argument('--redis-password', default=os.getenv('REDIS_PASSWORD', ''), type=str)
parser.add_argument('--buffer-size', default=32, type=int) parser.add_argument('--buffer-size', default=32, type=int)