diff --git a/commands/implemented/command_roll.py b/commands/implemented/command_roll.py index 97bcfbb..48a87cb 100644 --- a/commands/implemented/command_roll.py +++ b/commands/implemented/command_roll.py @@ -18,7 +18,7 @@ class CommandRoll(AbstractCommand, metaclass=ABCMeta): #twitch_message.chat.send("test acknowledged") diceRoll: str = "" - twitch_message.chat.send("Rolling Dice...") + bot.send_message("Rolling Dice...") print("Rolling Dice...") temp_preParsedMessage = twitch_message.text.split("+") @@ -63,4 +63,4 @@ class CommandRoll(AbstractCommand, metaclass=ABCMeta): diceRoll = "@" + twitch_message.sender + " rolled: " + diceRoll print(diceRoll) - twitch_message.chat.send(diceRoll) \ No newline at end of file + bot.send_message(diceRoll) \ No newline at end of file diff --git a/commands/implemented/command_test.py b/commands/implemented/command_test.py index d6fb5a5..1432e14 100644 --- a/commands/implemented/command_test.py +++ b/commands/implemented/command_test.py @@ -14,4 +14,4 @@ class CommandTest(AbstractCommand, metaclass=ABCMeta): def do_command(self, bot, twitch_message): print("!test Detected") - twitch_message.chat.send("test acknowledged") + bot.send_message("testing acknowledged")