Adding support to slash commands

This commit is contained in:
Rafael Vargas
2022-09-22 16:20:05 -03:00
parent ef66bf8bcb
commit 3b198cf78a
18 changed files with 422 additions and 40 deletions

View File

@@ -23,7 +23,8 @@ class ClearHandler(AbstractHandler):
if acquired:
playlist.clear()
processLock.release()
return HandlerResponse(self.ctx)
embed = self.embeds.PLAYLIST_CLEAR()
return HandlerResponse(self.ctx, embed)
else:
processManager.resetProcess(self.guild, self.ctx)
embed = self.embeds.PLAYER_RESTARTED()