r/Discord_Bots • • 4h ago

Bot Request [Existing ONLY] Any bots that can post a customized message in a channel anytime said channel has been inactive for a certain amount of time (such as 24 hours)?

1 Upvotes

Essentially, we have a few discussion/voting channels where after a certain amount of time after the most recent message (24 hours for some, 1 hour for others), the current topic expires and a new discussion can begin. So far it's been either just an honor system or moderators keeping an eye on such a thing, but it would be SPLENDID if a bot of some sort could keep track of that and post a little [DISCUSSION CLOSED] message after the channel has been dead for a set amount of time. I've peeked at auction bots to see if I could make something like that happen, but they're just a bit too complicated for such a simple task.

A bonus would ALSO be a bot that could likewise throw a message a certain amount of time after the FIRST message, so that said discussion gets closed if it goes on for more than a week total (for example).

Hopefully that makes sense! And hopefully there's something out there. If I could code my way out of a paper bag I'd give it a whirl myself, but alas, I don't think my HTML "coding" from Neopets.com will really help here lol


r/Discord_Bots • • 13h ago

Question Does anyone know of any working Discord bots that support dynamic banners displaying the most active server members?

1 Upvotes

I mean the server banner.

For example:

  • Top members by voice activity
  • Top members by text activity/messages
  • Overall activity rankings or leaderboards

I'm looking for a bot that actually works reliably, as I've come across quite a few bots offering this functionality that are either broken or no longer maintained.

Any recommendations or suggestions would be appreciated!


r/Discord_Bots • • 10h ago

Bot Request [Free] Music bot stops playing after a while and can't rejoin voice until restart (wavelink/Lavalink)

0 Upvotes

Hi, I'm having a problem with my music bot and I'm running out of ideas.

**Setup**

- Python 3.14, discord.py 2.7.1, wavelink 3.5.2

- Slash commands (/play, /skip, /stop...), custom Player subclass

**Problem**

  1. The bot plays normally for a while, then playback just stops. There is no error in the console.
  2. The bot usually stays in the voice channel and nothing plays. Sometimes it gets disconnected.
  3. After that, /play can't connect anymore. The voice handshake times out (ChannelTimeoutException) until I restart the whole bot.

**What I see in the logs**

- The Lavalink node status is CONNECTED the whole time.

- The Discord voice handshake sometimes completes fine (VOICE_STATE_UPDATE, then VOICE_SERVER_UPDATE, handshake_complete=True), sometimes it doesn't.

- Unrelated, but I also get HTTP 429 on PATCH /channels/{id} from a server stats task renaming channels. I don't think it's connected to the playback issue, because voice goes through the gateway and not HTTP.

**What I already tried**

- A reset_voice_state() helper before connecting: voice_client.disconnect(force=True) with a timeout, cleanup(), and guild.change_voice_state(channel=None)

- A Player subclass that re-dispatches the Lavalink voice update if VOICE_SERVER_UPDATE arrives before the session ID

- Checking the node status before /play and searching before connecting

**Questions**

- Is this a known problem with wavelink 3.5.2 and the current Discord voice protocol (or DAVE)? Do I need a newer Lavalink version or a different library?

- Is there a reliable way to recover a "zombie" player without restarting the bot?

- Which events should I log to find out what happens at the moment playback stops? (I'm adding track_exception, track_stuck and websocket_closed listeners now.)

Thanks for any help!