FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
How I Built a Discord Activity Heatmap Bot with Python and discord.py
NewsProgramming Languages

How I Built a Discord Activity Heatmap Bot with Python and discord.py

via Dev.to PythonSemTiOne4h ago

I've been running a Discord server for a while and always wondered: "when is my community actually online?" Discord doesn't show you this. You can see who's online right now, but there's no way to see patterns over time, no weekly view, no hourly breakdown, nothing. So I built Heatmap Bot. What it does Heatmap Bot tracks your server's activity and turns it into a heatmap, a 7×24 grid showing activity by day and hour for the past week. It also supports: Daily bar chart view Monthly trend chart Channel breakdown Member leaderboard Week-over-week comparison Weekly auto-reports Peak activity alerts CSV data export Tech stack Python 3.13 with discord.py 2.x SQLite with aiosqlite for async DB access matplotlib + numpy for heatmap rendering aiohttp for the webhook server Railway for hosting Ko-fi for payments (manual grant flow) The interesting part, rendering heatmaps The heatmap is a 7×24 numpy array. Each cell is the count of events at that day/hour combination, converted from UTC to the s

Continue reading on Dev.to Python

Opens in a new tab

Read Full Article
0 views

Related Articles

Oppo’s nearly creaseless foldable isn’t launching in Europe after all
News

Oppo’s nearly creaseless foldable isn’t launching in Europe after all

The Verge • 22m ago

Amazon adds 1-hour and 3-hour delivery options in the US
News

Amazon adds 1-hour and 3-hour delivery options in the US

TechCrunch • 47m ago

News

Seeing the Web

Lobsters • 49m ago

Best early Amazon Spring Sale TV deals 2026: Save big on Samsung, TCL, and more
News

Best early Amazon Spring Sale TV deals 2026: Save big on Samsung, TCL, and more

ZDNet • 1h ago

Age-Gating Isn’t About Kids, It’s About Control
News

Age-Gating Isn’t About Kids, It’s About Control

Lobsters • 1h ago

Discover More Articles