diff --git a/cooldowns.py b/cooldowns.py index cc7fba8..68b1431 100644 --- a/cooldowns.py +++ b/cooldowns.py @@ -25,7 +25,7 @@ class Cooldown: self.cooldownActionLimit = limit self.cooldownDuration = duration -class Cooldowns_Module: +class Cooldown_Module: def __init__(self): super().__init__() self.cooldownList:list = [] diff --git a/twitch_script.py b/twitch_script.py index b1db0fc..bf4ef2c 100644 --- a/twitch_script.py +++ b/twitch_script.py @@ -13,7 +13,7 @@ import commands.loader as command_loader import credentials from commands.command_base import AbstractCommand -from cooldowns import Cooldowns_Module +from cooldowns import Cooldown_Module class Twitch_Module(): def __init__(self): @@ -34,7 +34,7 @@ class Twitch_Module(): # Default Twitch Chat limit is 20 per 30 seconds # If Mod or Op, Twitch Chat limit is 100 per 30 seconds - self.twitchChat_cooldown:Cooldowns_Module = Cooldowns_Module() + self.twitchChat_cooldown:Cooldown_Module = Cooldown_Module() self.twitchChat_cooldown.setupCooldown("twitchChat", 20, 32) def join_channel(self, credential: credentials.Twitch_Credential, channel_name:str):