mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
Rich presence
This commit is contained in:
+18
-1
@@ -62,7 +62,24 @@ async def on_ready():
|
||||
|
||||
|
||||
logger.info(client.cogs)
|
||||
await client.change_presence(activity=discord.Game(name="Axe Throwing Darts"))
|
||||
radio_is_alive = True
|
||||
if radio_is_alive:
|
||||
radio_hardkor = discord.Activity(
|
||||
name = "Radio Hammer/Radio Conjurer/Wolne Bałuity Kurwa",
|
||||
url = "http://95.175.16.246:666/mp3-stream",
|
||||
type = discord.ActivityType.streaming,
|
||||
platform = "Liquidsoap+RaspberyPi+RolandSeratoDJ202",
|
||||
state = "Where the f*** is the DJ booth?",
|
||||
details= "This Is Radio Hardkor based in Wolne Księstwo Bałuty, the best pirate radiostation on both sides of Łódka river",
|
||||
buttons= [{"label":"WOLNE BAŁUTY KURWAAA!!!", "url":"http://95.175.16.246:666/mp3-stream"}]
|
||||
#assets= {"large_image": "", "large_text":"Fuckewry", "small_image":"", "small_text":"Hi!"}
|
||||
)
|
||||
await client.change_presence(activity=radio_hardkor)
|
||||
|
||||
else:
|
||||
|
||||
await client.change_presence(activity=discord.Game(name="Axe Throwing Darts"))
|
||||
|
||||
await client.tree.sync()
|
||||
for com in client.commands:
|
||||
logger.info("Command %s is awejleble", com.qualified_name)
|
||||
|
||||
Reference in New Issue
Block a user