Some visual changes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user