question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

getData() for Discord logs

See original GitHub issue

I think to improve the functionality and increase the dataset, the scan should include discord messages too. The user can simply get their discord chat logs from this exporter, much the same way they get their other chatlogs.

I already have some regex ready to parse through the whole log, tried and tested, efficient and fast. The regex collects one or multiple responses (of the given username) for each message (of someone that is not the user). This will obviously work best in direct messages but it can definitely work on servers too.

Let me know if you’d like this feature to be implemented 😄 @adeshpande3

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
adeshpande3commented, Jan 24, 2020

Took a high level pass and things look good. Bit swamped rn but will take a closer look tomorrow morning.

Thanks for this work!

0reactions
TotallyNotChasecommented, Jan 23, 2020

@adeshpande3 Awesome! I’m going with approach 2 right now but I’m absolutely going to be working on approach 3 if you’d like me to! Right now I’m focusing on getting it to be ready and working with python 3.

I made a PR for just approach 2 getDiscordData() for now!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating a Python Discord Bot - How to Get Data for Analysis
Our main goal here is to get data from Servers and analyze it. You can find more options here: https://discord.com/developers/docs/intro.
Read more >
How to get data from Collection Map in discord.js
... go through all files and get the 'name' attribute. However, the .keys() returns an array for all properties inside the map Documentation....
Read more >
Working with Audit Logs - discord.js Guide
Audit logs are an excellent moderation tool offered by Discord to know what happened in a server and usually by whom.
Read more >
How to Gather Message Data Using a Discord Bot From ...
To do so, we use the on_message() asynchronous function from the discord.py library, which runs every time a new message is sent.
Read more >
Discord Developer Portal — Documentation — Networking
This manager handles all things packets so you can get data from player to player and make your multiplayer...work. It: Functions as a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found