Starting using multiprocessing module in Vulkan, now creating a new bot for each guild when played, multiple issues yet

This commit is contained in:
Rafael Vargas
2022-07-22 16:03:51 -03:00
parent 7a51c22709
commit fc7de9cb4f
13 changed files with 367 additions and 20 deletions

View File

@@ -44,7 +44,7 @@ class Control(commands.Cog):
await ctx.send(embed=embed)
else:
print(f'DEVELOPER NOTE -> Comand Error: {error}')
print(f'DEVELOPER NOTE -> Command Error: {error}')
embed = self.__embeds.UNKNOWN_ERROR()
await ctx.send(embed=embed)

View File

@@ -6,7 +6,7 @@ from Controllers.ClearController import ClearController
from Controllers.MoveController import MoveController
from Controllers.NowPlayingController import NowPlayingController
from Controllers.PlayController import PlayController
from Controllers.PlayerController import PlayersController
from Controllers.PlayersController import PlayersController
from Controllers.PrevController import PrevController
from Controllers.RemoveController import RemoveController
from Controllers.ResetController import ResetController
@@ -21,7 +21,7 @@ from Controllers.QueueController import QueueController
from Controllers.LoopController import LoopController
from Views.EmoteView import EmoteView
from Views.EmbedView import EmbedView
from Parallelism.ProcessManager import ProcessManager
helper = Helper()
@@ -29,6 +29,7 @@ helper = Helper()
class Music(commands.Cog):
def __init__(self, bot) -> None:
self.__bot: Client = bot
self.__processManager = ProcessManager(bot)
self.__cleaner = Cleaner(self.__bot)
self.__controller = PlayersController(self.__bot)