Skip to content

Instantly share code, notes, and snippets.

@larsenv
Created April 2, 2019 23:29
Show Gist options
  • Save larsenv/c4a184b1e794ec65dec17adc2f8f3d47 to your computer and use it in GitHub Desktop.
Save larsenv/c4a184b1e794ec65dec17adc2f8f3d47 to your computer and use it in GitHub Desktop.
Use pisg, a program that takes IRC logs and makes a webpage about statistics of the chat, with Discord.

Using pisg with Discord

This tutorial will briefly tell you how to use pisg, a program that takes IRC logs and makes a webpage about statistics of the chat, with Discord.

Instructions

  1. Use DiscordChatExporter to generate a log of the chat you want to use pisg with. You need to make it saved in the PlainText format. I prefer the command-line version of the tool. (If you're on Linux/Mac, run this tool with mono.)
  2. Run my Python script to convert the log into a format that pisg can read (the "mbot" format).
  3. Run pisg with the command that the script outputs.

I know these instructions are very brief. I hope you have command-line experience if you're doing this.

You can host the logs on somewhere like GitHub Pages. However, you need the images in the "gfx" folder in the pisg binary download in order for the graphs to show up.

Have fun!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment