message achoix
This commit is contained in:
@@ -1008,7 +1008,10 @@ class messageTwitch:
|
||||
def send_message(self, Message_text):
|
||||
try:
|
||||
command = '-pseudo "'+self.tw_acc_pseudo+'" -token "'+self.tw_acc_token+'" -twitchname "'+self.channel_name+'" -message " '+self.charactere+' '+Message_text+'"'
|
||||
message_tosend = 'python send_message.py '+ str(command)
|
||||
|
||||
# Utiliser le Python de l'environnement virtuel
|
||||
python_path = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'env', 'bin', 'python')
|
||||
message_tosend = python_path + ' send_message.py '+ str(command)
|
||||
|
||||
debug_print("d", f"send message = "+str(message_tosend), self.type_debug, self.script_name)
|
||||
sprint(self.script_name,"cyan",f"send message = "+str(message_tosend))
|
||||
|
||||
Reference in New Issue
Block a user