• mine craft! mc.floofey.dog:25565

Looking for software please help

Currently reading:
Looking for software please help

internaut

New member
comfy friend
Joined
Jun 29, 2022
Messages
11
Reaction score
6
comfy coins
💠70,704
I have a database of over a million messages from a now deleted Discord server. The database contains: Every message (including system messages), all IDs of users (authors, mentioned), information of users (profile picture URL, name, discriminator aka tag, nickname, is a bot), URLs of attachements, stickers and lots of other misc things. Archive is in json format.

I want to make a word cloud of words over time, or some kind of interesting statistics with the messages. What software could I use?
Edit: I ended up making a chatbot based on a markov chain out of it.
 
Last edited:
woah, that sounds like a cool project. i honestly have no idea, though.
 
Python's probably the best bet, but I bet you could do something in Processing. As someone who can't program to save my life I know exactly how unhelpful this is, though.
 
Yeah what you want to do is pretty specific and I'm afraid you'll have to write your own program, but since working on .json is pretty easy, I don't think that's gonna be much of an issue.
Alternatively you could provide a sample of the json and tell us what exactly do you want and maybe someone will be willing to work on this.
 
would you mind sharing what you used for that? i am interested
This code was made for an IRC bot but it's easy to modify it for anything you want.
To save you some time understanding how it works:
In order to run it, you must add the bot's username as a paramater: "cgbot.exe comfybot". When you run it, it takes input from stdin (your keyboard in command line). The first word of the input is the username of who is sending the message. The username must always be in one word. Following that is the message. The message ends with "\n"/breakline/enter. To make it learn and enable it to reply, someone with the username "###" must type "ENABLE" (you would type "### ENABLE" in the command line). That will trigger a rehash (relearn) and it will enable the bot to reply only when its name is mentioned. The message will be outputed to stdout (your command line). Markov paramaters are at line 23 and commands are at line 444.

I parsed all messages from the json file into a txt file following the "user message" format and I fed it in via fstream. At the end of the txt file I added an end indicator. I modifed the code to read everything that's in the file and when it reaches the end indicator it triggers a rehash, enables the bot and sends to stdout a "Ready" message and switches to taking input from stdin. I made it work with discord by making a bot in node js which interacts with stdin/stdout.
 
/pub/ ~ public channel
Help Users
  • T (Guest) Therealmayio:
    ello, im mayo
    Quote Link
  • Quote Link
  • rivChorus @ rivChorus:
    mf above is so down bad lmao
    Quote Link
  • Natural @ Natural:
    FUCK TRANNIES said:
    FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES FUCK TRANNIES
    Quote Link
  • Natural @ Natural:
    lol
    Quote Link
  • Natural @ Natural:
    alright dude
    Quote Link
  • 4 Chat Bot:
    Guest 4030nice website has joined the room.
  • B Chat Bot:
    Guest bigtrannyfucker has joined the room.
  • B (Guest) bigtrannyfucker:
    There's trannies here wanting to be fucked?
    Quote Link
  • B (Guest) bigtrannyfucker:
    contact me at [email protected]
    Quote Link
  • Laifeey @ Laifeey:
    very peculiar people in this chat (o_0)
    Quote Link
  • Natural @ Natural:
    some true comedians
    Quote Link
  • Laifeey @ Laifeey:
    fr
    Quote Link
  • Laifeey Chat Bot:
    Laifeey Laifeey has joined the room.
  • Null @ Null:
    I'm scared
    Quote Link
  • SonarRonar @ SonarRonar:
    hilarious
    Quote Link
  • Toronikus @ Toronikus:
    Odd little cretins
    Quote Link
  • nyawo @ nyawo:
    hi
    Quote Link
  • Natural @ Natural:
    hey
    Quote Link
  • F Chat Bot:
    Guest freakygang has joined the room.
  • F (Guest) freakygang:
    Wsg chat
    Quote Link
  • radias Chat Bot:
    radias radias has joined the room.
  • radias @ radias:
    whats up??
    Quote Link
  • bananalizard @ bananalizard:
    i just found out theres lead in my town's water system
    • bingle
    Reactions: SonarRonar
    Quote Link
  • faen @ faen:
    thats sus
    Quote Link
      faen @ faen: thats sus
      Back
      Top