Renamed Module

This commit is contained in:
Alex Orid 2020-10-19 17:21:05 -04:00
parent 088bba8309
commit d836752e29
2 changed files with 3 additions and 3 deletions

View File

@ -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 = []

View File

@ -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):