v2 Standalone Docker Update #40

Merged
alex_orid merged 157 commits from v2.0 into master 2021-05-13 20:36:45 +00:00
2 changed files with 8 additions and 4 deletions
Showing only changes of commit ff4b9af8b4 - Show all commits

View File

@ -4,6 +4,7 @@ from commands.command_base import AbstractCommand
from json import loads
from urllib.parse import urlencode
from urllib.parse import parse_qs
import requests
import config
@ -42,9 +43,15 @@ class Command_tts_v2(AbstractCommand, metaclass=ABCMeta):
elif "Discord" in source:
for name in config.allowedTTS_List:
print(name)
for key_ in fixedData:
praxis_logger_obj.log(key_)
tempName = user.lower()
if name == tempName:
self.send_TTS(user, rest)
self.send_TTS(fixedData.author.nick, rest)
else:
returnString = self.send_TTS(user, rest)

View File

@ -3,9 +3,6 @@ from os import F_OK
import tempText_Module
import time
import config as config
import db
import tts
import threading
from flask import Flask