Added silent mode to the controller

This commit is contained in:
Choco
2025-08-04 11:07:59 +08:00
parent d9fb58ef92
commit e97a604aed

View File

@@ -463,11 +463,11 @@ class Player(VoiceProtocol):
# Send a new controller message if none exists
if not self.controller:
self.controller = await self.context.channel.send(embed=embed, view=view)
self.controller = await func.send(self.context, content=embed, view=view)
elif not await self.is_position_fresh():
await self.controller.delete()
self.controller = await self.context.channel.send(embed=embed, view=view)
self.controller = await func.send(self.context, content=embed, view=view)
else:
await self.controller.edit(embed=embed, view=view)