Skip to content

Commit cdddbb7

Browse files
authored
2.9.0 (#1)
1 parent b9767f8 commit cdddbb7

80 files changed

Lines changed: 2849 additions & 2559 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 48 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,49 @@
1-
name: Bug Report
2-
description: Found a bug? Report it here.
3-
labels: [bug]
4-
1+
name: 'Bug Report:'
2+
description: Found a Bug? Report it Here!
3+
assignees: [1337Syntax]
54
body:
6-
- type: markdown
7-
attributes:
8-
value: |
9-
**Guidelines:**
10-
11-
- Make sure this is not a duplicate issue by [checking here](https://github.com/mahtoid/DiscordChatExporterPy/issues?q=is%3Aissue).
12-
- Include one bug per issue, please create multiple issues for each individual bug you find.
13-
- Please provide an appropriate title related to your issue, for example: "Missing 'Component' for 'Message' Object".
14-
- Please be descriptive and provide as much detail as possible, it'll save a lot of time for the both of us in trying to reproduce the issue.
15-
16-
- type: input
17-
attributes:
18-
label: DiscordChatExporterPy Version
19-
description: Which version of chat-exporter are you using?
20-
placeholder: ver X.Y.Z (`pip show chat-exporter`)
21-
validations:
22-
required: true
23-
24-
- type: input
25-
attributes:
26-
label: Discord Version
27-
description: What version of discord.py (or fork) version are you using?
28-
placeholder: discord.py ver X.Y.Z (`pip show discord.py`)
29-
validations:
30-
required: true
31-
32-
- type: textarea
33-
attributes:
34-
label: Bug Description
35-
description: Clear and thorough description of the bug.
36-
placeholder: When I was doing X, then Y happened instead of Z.
37-
validations:
38-
required: true
39-
40-
- type: textarea
41-
attributes:
42-
label: Bug Traceback
43-
description: If necessary, paste the console logs here
44-
placeholder: Copy Pasta of the errors printed in to your console.
45-
validations:
46-
required: false
47-
48-
- type: textarea
49-
attributes:
50-
label: Additional Information
51-
description: If necessary, upload a screenshot of the bug here - as well as any additional information.
52-
validations:
53-
required: false
5+
- type: input
6+
attributes:
7+
label: 'DiscordChatExporterPy Version:'
8+
description: What Version of the Library are You Using?
9+
placeholder: '2.9.0'
10+
validations:
11+
required: true
12+
- type: input
13+
attributes:
14+
label: 'Discord.PY Version:'
15+
description: What Version of `discord.py` (or Fork) are You Using?
16+
placeholder: '2.4.0'
17+
validations:
18+
required: true
19+
- type: textarea
20+
attributes:
21+
label: 'Bug Description:'
22+
description: Describe What the Bug is & How it Happened.
23+
placeholder: 'Code-Blocks are Not being Rendered Correctly in the Output . . .'
24+
validations:
25+
required: true
26+
- type: textarea
27+
attributes:
28+
label: 'Bug Traceback:'
29+
description: If You Have a Traceback, Please Paste it Here.
30+
placeholder: '```python\nTraceback (most recent call last):\n. . .```'
31+
validations:
32+
required: false
33+
- type: checkboxes
34+
attributes:
35+
label: 'Checklist:'
36+
description: 'Please Check the Following:'
37+
options:
38+
- label: 'I Have Searched the Issues to Ensure this Bug has Not Already Been Reported/Resolved.'
39+
required: true
40+
- label: 'I Have Confirmed this Bug is Reproducible.'
41+
required: true
42+
- label: 'I Have Filled Out All the Required Fields Above.'
43+
required: true
44+
- type: textarea
45+
attributes:
46+
label: 'Additional Information:'
47+
description: Any Additional Information to Know.
48+
validations:
49+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: Discord
4-
url: https://discord.mahto.id/
5-
about: Find help within the Discord community
3+
- name: Questions
4+
url: https://github.com/1337Syntax/DiscordChatExporterPy/discussions
5+
about: Need Help with Using the Library? Create a Discussion!
Lines changed: 34 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,35 @@
1-
name: Feature Request
2-
description: Think you have a cool idea? Request it here
3-
labels: [enhancement]
4-
1+
name: 'Feature Request:'
2+
description: Want to Request a New Feature? Submit it Here!
3+
assignees: [1337Syntax]
54
body:
6-
- type: markdown
7-
attributes:
8-
value: |
9-
**Guidelines:**
10-
11-
- Make sure this is not a duplicate feature request by [checking here](https://github.com/mahtoid/DiscordChatExporterPy/issues?q=is%3Aissue).
12-
- Include one feature request per issue, please create multiple issues for each feature request you have.
13-
- Please provide an appropriate title related to your issue, for example: "Adding chat-exporter support for Button interactions".
14-
- Please be descriptive and provide as much detail as possible, it'll help me imagine the feature you are requesting faster.
15-
16-
- type: textarea
17-
attributes:
18-
label: Feature Description
19-
description: Clear and thorough description of the feature request.
20-
validations:
21-
required: true
5+
- type: textarea
6+
attributes:
7+
label: 'Feature Description:'
8+
description: Describe the Feature You Would Like to See Added.
9+
placeholder: 'I Would Like to See a New Command Added to Export . . .'
10+
validations:
11+
required: true
12+
- type: textarea
13+
attributes:
14+
label: 'Feature Justification:'
15+
description: Why Should this Feature be Added?
16+
placeholder: 'This Feature Would Make it Easier to . . .'
17+
validations:
18+
required: true
19+
- type: checkboxes
20+
attributes:
21+
label: 'Checklist:'
22+
description: 'Please Check the Following:'
23+
options:
24+
- label: 'I Have Searched the Issues to Ensure this Feature has Not Already Been Requested.'
25+
required: true
26+
- label: 'I Have Confirmed this Feature is Necessary.'
27+
required: true
28+
- label: 'I Have Filled Out All the Required Fields Above.'
29+
required: true
30+
- type: textarea
31+
attributes:
32+
label: 'Additional Information:'
33+
description: Any Additional Information to Know.
34+
validations:
35+
required: false

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 66 deletions
This file was deleted.

.github/workflows/codeql.yml

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
name: "CodeQL"
2+
on: [push, pull_request]
3+
jobs:
4+
analyze:
5+
name: Analyze (${{ matrix.language }})
6+
# Runner size impacts CodeQL analysis time. To learn more, please see:
7+
8+
# - https://gh.io/recommended-hardware-resources-for-running-codeql
9+
# - https://gh.io/supported-runners-and-hardware-resources
10+
# - https://gh.io/using-larger-runners (GitHub.com only)
11+
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
12+
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
13+
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
14+
permissions:
15+
# required for all workflows
16+
security-events: write
17+
# required to fetch internal or private CodeQL packs
18+
19+
packages: read
20+
# only required for workflows in private repositories
21+
22+
actions: read
23+
contents: read
24+
strategy:
25+
fail-fast: false
26+
matrix:
27+
include:
28+
- language: python
29+
build-mode: none
30+
# CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
31+
# Use `c-cpp` to analyze code written in C, C++ or both
32+
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
33+
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
34+
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
35+
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
36+
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
37+
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
38+
steps:
39+
- name: Checkout repository
40+
uses: actions/checkout@v4
41+
- name: Initialize CodeQL
42+
# Initializes the CodeQL tools for scanning.
43+
44+
uses: github/codeql-action/init@v3
45+
with:
46+
languages: ${{ matrix.language }}
47+
build-mode: ${{ matrix.build-mode }}
48+
# If you wish to specify custom queries, you can do so here or in a config file.
49+
# If the analyze step fails for one of the languages you are analyzing with
50+
# "We were unable to automatically build your code", modify the matrix above
51+
# to set the build mode to "manual" for that language. Then modify this step
52+
# to build your code.
53+
# ℹ️ Command-line programs to run using the OS shell.
54+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
55+
- if: matrix.build-mode == 'manual'
56+
# By default, queries listed here will override any specified in a config file.
57+
58+
# Prefix the list here with "+" to use these queries and those in the config file.
59+
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
60+
# queries: security-extended,security-and-quality
61+
shell: bash
62+
run: |
63+
echo 'If you are using a "manual" build mode for one or more of the' \
64+
'languages you are analyzing, replace this with the commands to build' \
65+
'your code, for example:'
66+
echo ' make bootstrap'
67+
echo ' make release'
68+
exit 1
69+
- name: Perform CodeQL Analysis
70+
uses: github/codeql-action/analyze@v3
71+
with:
72+
category: "/language:${{matrix.language}}"

.gitignore

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,4 @@ cython_debug/
161161

162162
# VSCode
163163
.vscode/
164-
165-
# Project specific ignores
166-
bot.py
167-
chat_exporter/config.py
168-
*.fs*
169-
*.sqlite
164+
*.code-workspace

.pre-commit-config.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
ci:
2+
autoupdate_commit_msg: "chore(pre-commit): pre-commit autoupdate"
3+
autofix_commit_msg: "style(pre-commit): auto fixes from pre-commit hooks"
4+
repos:
5+
- repo: https://github.com/pre-commit/pre-commit-hooks
6+
rev: v4.6.0
7+
hooks:
8+
- id: end-of-file-fixer
9+
- id: trailing-whitespace
10+
- repo: https://github.com/hhatto/autopep8
11+
rev: v2.3.1
12+
hooks:
13+
- id: autopep8
14+
- repo: https://github.com/pycqa/isort
15+
rev: 5.13.2
16+
hooks:
17+
- id: isort
18+
args: [--settings-file=pyproject.toml]
19+
- repo: https://github.com/asottile/add-trailing-comma
20+
rev: v3.1.0
21+
hooks:
22+
- id: add-trailing-comma
23+
- repo: https://github.com/google/yamlfmt
24+
rev: v0.13.0
25+
hooks:
26+
- id: yamlfmt

.screenshots/channel_output.png

-127 KB
Binary file not shown.

.screenshots/html_output.png

-130 KB
Binary file not shown.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
GNU GENERAL PUBLIC LICENSE
1+
GNU GENERAL PUBLIC LICENSE
22
Version 3, 29 June 2007
33

44
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>

0 commit comments

Comments
 (0)