Some visual changes

This commit is contained in:
2023-01-12 23:54:24 +03:00
parent 4895bf7f6b
commit d75add614b
2 changed files with 3 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ from lib import determine_prefix, determine_time
from lib import logger
class Bot_info(commands.Cog, name='Bot Info'):
class BotInfo(commands.Cog, name='Bot Info'):
def __init__(self, bot):
self.bot = bot # defining bot as global var in class
@@ -41,4 +41,4 @@ class Bot_info(commands.Cog, name='Bot Info'):
def setup(bot): # an extension must have a setup function
bot.add_cog(Bot_info(bot)) # adding a cog
bot.add_cog(BotInfo(bot)) # adding a cog

View File

@@ -79,7 +79,7 @@ class _ListGenerationIter:
if self._current_index < self._size:
_name = self._list[self._current_index]
_path = self._path
_type = self._type
_type = self.type
_exc = self._exc
self._current_index += 1
memb = _FileAttrs(_name, _path, _type, _exc)