mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-18 15:52:10 +00:00
lgtstfx
This commit is contained in:
+3
-1
@@ -51,11 +51,12 @@ class MusicFileList(object):
|
|||||||
if platform == "win32":
|
if platform == "win32":
|
||||||
temp_music_file = temp_music_file.replace("/", "\\")
|
temp_music_file = temp_music_file.replace("/", "\\")
|
||||||
self.music_file_list.append(temp_music_file)
|
self.music_file_list.append(temp_music_file)
|
||||||
self.file_service_active = False
|
self.file_service_active = False
|
||||||
self.logger.error(e.strerror)
|
self.logger.error(e.strerror)
|
||||||
self.logger.error("Service Unavailable")
|
self.logger.error("Service Unavailable")
|
||||||
finally:
|
finally:
|
||||||
if self.file_service_active:
|
if self.file_service_active:
|
||||||
|
self.logger.info("Radio Status: Probably Active")
|
||||||
status = discord.Status.online
|
status = discord.Status.online
|
||||||
# radio_hardkor = discord.Activity(
|
# radio_hardkor = discord.Activity(
|
||||||
# name = "Radio Hammer/Radio Conjurer/Wolne Bałuity Kurwa",
|
# name = "Radio Hammer/Radio Conjurer/Wolne Bałuity Kurwa",
|
||||||
@@ -73,6 +74,7 @@ class MusicFileList(object):
|
|||||||
await bot.change_presence(status=status, activity=radio_hardkor)
|
await bot.change_presence(status=status, activity=radio_hardkor)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
self.logger.info("Radio Status: Rather Unknown")
|
||||||
await bot.change_presence(
|
await bot.change_presence(
|
||||||
activity=discord.Game(name="Axe Throwing Darts")
|
activity=discord.Game(name="Axe Throwing Darts")
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user