mirror of
https://github.com/kaaninchen/Gleiswechsel.git
synced 2026-07-21 19:52:47 +00:00
improve leftover print statements
This commit is contained in:
@@ -14,7 +14,6 @@ setup_commands(bot)
|
|||||||
@tasks.loop(minutes=1)
|
@tasks.loop(minutes=1)
|
||||||
async def change_status():
|
async def change_status():
|
||||||
status = random.choice(discord_status)
|
status = random.choice(discord_status)
|
||||||
print(status)
|
|
||||||
await bot.change_presence(activity=discord.Game(name=status))
|
await bot.change_presence(activity=discord.Game(name=status))
|
||||||
|
|
||||||
@bot.event
|
@bot.event
|
||||||
|
|||||||
+1
-1
@@ -25,7 +25,7 @@ async def rename_vc(bot: discord.Bot) -> bool:
|
|||||||
train, destination, route, departure, via, station = random_connection()
|
train, destination, route, departure, via, station = random_connection()
|
||||||
name = f"{train} nach {destination}"
|
name = f"{train} nach {destination}"
|
||||||
|
|
||||||
print(f"Info:{name} from {station}")
|
print(f"Info: {name} from {station}\n via: {via}")
|
||||||
|
|
||||||
await channel.edit(name=f"{config['formatting']}{name}")
|
await channel.edit(name=f"{config['formatting']}{name}")
|
||||||
return True
|
return True
|
||||||
Reference in New Issue
Block a user