From db188d968bccdbc5ac3aa7157af205f9ba20a18f Mon Sep 17 00:00:00 2001 From: Joshua Arulsamy Date: Thu, 13 Aug 2020 03:20:41 -0600 Subject: [PATCH] :art: Static methods --- PlexBot/bot.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/PlexBot/bot.py b/PlexBot/bot.py index 5e53759..5dd7067 100644 --- a/PlexBot/bot.py +++ b/PlexBot/bot.py @@ -303,7 +303,8 @@ class Plex(commands.Cog): self.current_track = None self.bot.loop.call_soon_threadsafe(self.play_next_event.set) - def _build_embed_track(self, track, type_="play"): + @staticmethod + def _build_embed_track(track, type_="play"): """Creates a pretty embed card for tracks Builds a helpful status embed with the following info: @@ -350,7 +351,8 @@ class Plex(commands.Cog): return embed, art_file - def _build_embed_album(self, album): + @staticmethod + def _build_embed_album(album): """Creates a pretty embed card for albums Builds a helpful status embed with the following info: