Changed Message Sending
I changed the send message function I use for the twitch commands.
This commit is contained in:
parent
5d97066b8b
commit
541ad25af2
@ -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)
|
||||||
@ -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")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user