Changed Message Sending

I changed the send message function I use for the twitch commands.
This commit is contained in:
Alex Orid 2020-10-14 04:33:33 -04:00
parent 5d97066b8b
commit 541ad25af2
2 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ class CommandRoll(AbstractCommand, metaclass=ABCMeta):
#twitch_message.chat.send("test acknowledged") #twitch_message.chat.send("test acknowledged")
diceRoll: str = "" diceRoll: str = ""
twitch_message.chat.send("Rolling Dice...") bot.send_message("Rolling Dice...")
print("Rolling Dice...") print("Rolling Dice...")
temp_preParsedMessage = twitch_message.text.split("+") temp_preParsedMessage = twitch_message.text.split("+")
@ -63,4 +63,4 @@ class CommandRoll(AbstractCommand, metaclass=ABCMeta):
diceRoll = "@" + twitch_message.sender + " rolled: " + diceRoll diceRoll = "@" + twitch_message.sender + " rolled: " + diceRoll
print(diceRoll) print(diceRoll)
twitch_message.chat.send(diceRoll) bot.send_message(diceRoll)

View File

@ -14,4 +14,4 @@ class CommandTest(AbstractCommand, metaclass=ABCMeta):
def do_command(self, bot, twitch_message): def do_command(self, bot, twitch_message):
print("!test Detected") print("!test Detected")
twitch_message.chat.send("test acknowledged") bot.send_message("testing acknowledged")