Skip to content

Commit 7a7cd91

Browse files
committed
feat(export): add export functionality for banned users and members
Introduce a new feature to export server data, specifically banned users and members, in CSV format. This allows server administrators to easily access and manage user data outside of Discord. feat(docs): enhance documentation with architecture and contributing guides Add comprehensive documentation to guide developers through the project's architecture and contribution process. This includes setup instructions, code style guidelines, and pull request procedures to streamline collaboration and maintain code quality. chore(build): update build and development scripts for improved workflow Refactor build and development scripts to enhance the development workflow. This includes adding new scripts for linting, formatting, and database management, as well as updating the mkdocs configuration for better documentation generation. style(css): add custom styles for documentation Introduce custom CSS styles to improve the appearance and readability of the documentation. This includes styling for tables, code blocks, and various text elements to ensure a consistent and professional look. refactor(bot): improve bot class with detailed docstrings and error handling Enhance the Tux bot class by adding detailed docstrings for better understanding of its functionality. Improve error handling and logging to ensure robust operation and easier debugging. fix(gif_limiter): correct logic for processing messages with GIFs Fix the logic in the GIF limiter to accurately determine when a message contains a GIF and should be processed. This ensures that the rate limiting functionality works as intended and prevents excessive GIF usage in channels. docs: add detailed docstrings to GitHub, Godbolt, and XKCD wrappers Add comprehensive docstrings to improve code readability and maintainability. These docstrings provide clear descriptions of methods, parameters, and return values, aiding developers in understanding the codebase and facilitating easier future modifications.
1 parent 2a75dfb commit 7a7cd91

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+3132
-445
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

.gitignore

+2-3
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,6 @@ target/
8484
profile_default/
8585
ipython_config.py
8686

87-
# Pyenv
88-
.python-version
89-
9087
# Pipenv
9188
Pipfile.lock
9289

@@ -163,3 +160,5 @@ config/settings.yml
163160

164161
# MacOS
165162
.DS_Store
163+
164+
docs-build/

.pre-commit-config.yaml

-5
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,4 @@ repos:
3030
hooks:
3131
- id: pyupgrade
3232

33-
# - repo: https://github.com/RobertCraigie/pyright-python
34-
# rev: v1.1.378
35-
# hooks:
36-
# - id: pyright
37-
3833
exclude: '(^\.archive|/typings)/'

.python-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.13.1

.vscode/settings.json

+24-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"ruff.nativeServer": "on",
32
"ruff.lint.enable": true,
43
"ruff.lint.preview": false,
54
"ruff.format.preview": true,
@@ -21,16 +20,35 @@
2120
"files.exclude": {
2221
"**/__pycache__": true,
2322
"**/*.pyc": true,
24-
"**/pycache": true,
25-
".archive": true
23+
"**/pycache": true
24+
},
25+
"search.exclude": {
26+
".archive/**": true,
27+
"docs-build/**": true
2628
},
2729
"python.analysis.exclude": [
28-
".archive/**"
30+
".archive/**",
31+
"docs-build/**"
2932
],
3033
"python.analysis.diagnosticSeverityOverrides": {
3134
"reportIncompatibleMethodOverride": "none",
3235
"reportGeneralTypeIssues": "information"
3336
},
3437
"git.autofetch": true,
35-
"editor.inlayHints.enabled": "offUnlessPressed"
36-
}
38+
"editor.inlayHints.enabled": "offUnlessPressed",
39+
"[yaml]": {
40+
"editor.defaultFormatter": "redhat.vscode-yaml"
41+
},
42+
"yaml.schemas": {
43+
"https://squidfunk.github.io/mkdocs-material/schema.json": "mkdocs.yml"
44+
},
45+
"yaml.customTags": [
46+
"!ENV scalar",
47+
"!ENV sequence",
48+
"!relative scalar",
49+
"tag:yaml.org,2002:python/name:material.extensions.emoji.to_svg",
50+
"tag:yaml.org,2002:python/name:material.extensions.emoji.twemoji",
51+
"tag:yaml.org,2002:python/name:pymdownx.superfences.fence_code_format",
52+
"tag:yaml.org,2002:python/object/apply:pymdownx.slugs.slugify mapping"
53+
]
54+
}

0 commit comments

Comments
 (0)