Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
e063db1
Fix typo in interaction check (#1221)
ajax146 Feb 20, 2025
2d16044
Update discord.py to version 2.5 (#1222)
ajax146 Apr 23, 2025
92a3251
Bump hypothesis from 6.122.4 to 6.131.7 (#1265)
dependabot[bot] Apr 24, 2025
5da7a94
Bump pytest-asyncio from 0.25.0 to 0.26.0 (#1250)
dependabot[bot] Apr 24, 2025
a09d24d
Truly kill factoid all prefix command (#1224)
ajax146 Apr 24, 2025
cc475ad
Bump pytest from 8.3.2 to 8.3.5 (#1235)
dependabot[bot] Apr 24, 2025
5300e31
Bump flake8-bugbear from 24.8.19 to 24.12.12 (#1269)
dependabot[bot] Apr 24, 2025
5a5241d
Replaces the PC joke config with a better filter (#1266)
Lunaberries Apr 24, 2025
e89662b
Improves the output format of factoid search, and speeds it up a litt…
ajax146 Apr 24, 2025
462fd04
Makes role self more dynamic. (#1199)
ajax146 Apr 24, 2025
13cad44
Bump pylint from 3.2.6 to 3.3.6 (#1247)
dependabot[bot] Apr 24, 2025
bb8000a
Make duck random better (#1189)
ajax146 Apr 24, 2025
6de4792
Rename factoid json file (#1270)
ajax146 Apr 24, 2025
4a17384
Updating hangman to fix all the issues (#1207)
TheKrol Apr 24, 2025
5b3c8a8
Bump gitpython from 3.1.43 to 3.1.44 (#1226)
dependabot[bot] Apr 24, 2025
d71588b
Bump pip from 24.3.1 to 25.0.1 (#1271)
dependabot[bot] Apr 24, 2025
bd7f8de
Bump isort from 5.13.2 to 6.0.1 (#1272)
dependabot[bot] Apr 24, 2025
2da4f8c
Bump pydantic from 2.8.2 to 2.9.2 (#1149)
dependabot[bot] Apr 24, 2025
383ceda
Bump emoji from 2.12.1 to 2.14.1 (#1274)
dependabot[bot] Apr 24, 2025
b1331e5
Bump pipenv from 2024.4.1 to 2025.0.1 (#1273)
dependabot[bot] Apr 24, 2025
d57339c
Bump pydoclint from 0.5.6 to 0.6.6 (#1262)
dependabot[bot] Apr 24, 2025
44e9df3
Bump flake8 from 7.1.1 to 7.2.0 (#1275)
dependabot[bot] Apr 24, 2025
196b44a
Bump unidecode from 1.3.8 to 1.4.0 (#1276)
dependabot[bot] Apr 24, 2025
febd1e5
Bump hypothesis from 6.131.8 to 6.131.9 (#1278)
dependabot[bot] Apr 27, 2025
34fc8a1
Bump pip from 25.0.1 to 25.1 (#1280)
dependabot[bot] Apr 27, 2025
6a4b4e8
Duck timeout on miss is now a config (#1141)
Cpt-Dingus Apr 27, 2025
9e5e0a9
Updates the IRC authentication method to no longer need ib3 (#1282)
ajax146 Apr 27, 2025
e2e7d3c
Updates the IRC authentication method to no longer need ib3 (#1282)
ajax146 Apr 27, 2025
6abdea5
Bump inflect from 7.3.1 to 7.5.0 (#1279)
dependabot[bot] Apr 27, 2025
0c41154
make config.yml path configurable in .env file (#1294)
dkay0670 May 2, 2025
495cb01
Removes useless print statement in HTD (#1291)
ajax146 May 2, 2025
7a0d9b3
Make the DEBUG .env option default at 0 (#1301)
ajax146 May 2, 2025
2a955d1
Make the burn command work on message reply (#1298)
Koei32 May 2, 2025
31a2503
Fix typo in logging warning in logger (#1292)
ajax146 May 2, 2025
3545c09
Add /factoid call command (#1290)
ajax146 May 2, 2025
b14b930
Add modmail bans command to list modmail bans (#1286)
dkay0670 May 3, 2025
9a16c51
Bump aiocron from 1.8 to 2.1 (#1268)
dependabot[bot] May 3, 2025
03ea05f
Add override owner config and try catch to log DM (#1220)
ajax146 May 3, 2025
87eef24
Bump dateparser from 1.2.0 to 1.2.1 (#1267)
dependabot[bot] May 3, 2025
6b01f9f
concatenation of all prior CI and addition of dependabot close steps …
PipeItToDevNull May 4, 2025
d7b1955
Make startup time dynamic timestamp (#1305)
dkay0670 May 4, 2025
f0e14b0
Fix modmail alias command when no aliases defined (#1287)
dkay0670 May 4, 2025
92aa8f2
Add more friendly error when corrected message is too long (#886)
dkay0670 May 4, 2025
9d617ef
Auto reject applications after 30 days (#1281)
ajax146 May 4, 2025
4196799
Make CI only run on PRs with the run-ci label (#1306)
ajax146 May 4, 2025
97378e3
Bump pip from 25.1 to 25.1.1 (#1308)
dependabot[bot] May 4, 2025
0f98833
Bump pipenv from 2025.0.1 to 2025.0.2 (#1307)
dependabot[bot] May 4, 2025
6bfcfbe
Refactors hello, removes worthless unit tests (#1300)
ajax146 May 4, 2025
6c521f1
Merge all formatting and testing CI into one (#1312)
ajax146 May 5, 2025
cd7ba4a
Refactor all moderation features, auto mod and notes. Add reports and…
ajax146 May 5, 2025
9aa793a
Add enable all extension command (#1299)
ajax146 May 5, 2025
77de9e7
Fix perms with extension all command (#1316)
ajax146 May 5, 2025
29ce376
Removes the if statements on CI (#1328)
ajax146 May 17, 2025
f7eb43a
Better message on factoid forget (#1326)
ajax146 May 17, 2025
666a876
Fix CI schedule (#1329)
ajax146 May 17, 2025
661bf79
Remove label in ci.yml (#1330)
ajax146 May 17, 2025
9ff2117
Bump hypothesis from 6.131.9 to 6.131.15 (#1327)
dependabot[bot] May 17, 2025
9267032
Better factoid json name (#1325)
ajax146 May 17, 2025
b2faf92
Bump pylint from 3.3.6 to 3.3.7 (#1315)
dependabot[bot] May 17, 2025
6f18f4c
Bump hypothesis from 6.131.15 to 6.131.18 (#1332)
dependabot[bot] May 19, 2025
979bd00
Modmail self/contact now links new thread on success (#1331)
ajax146 May 20, 2025
32f9d27
Fix factoid all when there are no factoids for a given guild (#1322)
ajax146 May 20, 2025
c43b55e
Fixes modmail sending files in threads (#1320)
ajax146 May 20, 2025
99f5d14
Properly parse namespace on slash command log (#1313)
ajax146 May 20, 2025
8e41745
Move news random to be a slash command with autofill (#969)
TheKrol May 20, 2025
289d31e
Bump hypothesis from 6.131.18 to 6.135.4 (#1340)
dependabot[bot] Jun 9, 2025
0a9bbe1
Bump pytest from 8.3.5 to 8.4.0 (#1339)
dependabot[bot] Jun 9, 2025
eb97d64
Bump pipenv from 2025.0.2 to 2025.0.3 (#1338)
dependabot[bot] Jun 9, 2025
59b342b
Adds a crude debug command (#1110)
ajax146 Jun 16, 2025
f40b4d2
Bump pytest-asyncio from 0.26.0 to 1.0.0 (#1342)
dependabot[bot] Jun 20, 2025
16624a5
Bump hypothesis from 6.135.4 to 6.135.10 (#1341)
dependabot[bot] Jun 20, 2025
007835f
Add a warning message to people who DM the main bot (#1334)
ajax146 Jun 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[flake8]
ignore = DCO010, DCO023, DOC602, DOC603, E203, E501, E712, F401, F403, F821, W503
ignore = DCO010, DCO023, DOC503, DOC602, DOC603, MDA002, E203, E501, E712, F401, F403, F821, W503
style = google
skip-checking-short-docstrings = False
skip-checking-short-docstrings = False
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
interval: "weekly"
open-pull-requests-limit: 10
25 changes: 0 additions & 25 deletions .github/workflows/black.yml

This file was deleted.

147 changes: 147 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
name: Test and build

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
codeValidation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: 3.11
- name: Install pip
run: |
python -m pip install pip==$(sed -nE 's/pip = "==(.*)"/\1/p' Pipfile)
- name: Install pipenv
run: |
PIPENV_VERSION=$(sed -nE 's/pipenv = "==(.*)"/\1/p' Pipfile)
python -m pip install pipenv==$PIPENV_VERSION
- name: Install from pipfile
run: |
pipenv install --system
- name: Analysing the code with black
run: |
black $(git rev-parse --show-toplevel) --check
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
- name: Check for CRLF line endings
run: |
for file in $(git ls-files); do
if grep -q $'\r$' "$file"; then
echo "$file has faulty file endings"
fi
done
if git grep -I --name-only $'\r'; then
echo "CRLF line endings detected"
exit 1
fi
- name: Analysing the code with flake8
run: |
flake8 $(git rev-parse --show-toplevel)
- name: Analysing the code with isort
run: |
isort --check-only $(git rev-parse --show-toplevel)/ --profile black
- name: Running pytest
run: |
cd techsupport_bot
python3.11 -m pytest tests/ -p no:warnings

containerBuild:
runs-on: ubuntu-latest
needs:
- codeValidation
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: make establish_config && docker build -f Dockerfile . -t techsupportbot:$(date +%s)

close_pyTest:
if: github.event_name == 'pull_request' && github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
needs:
- codeValidation
permissions:
contents: write
pull-requests: write
steps:
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Merge PR
if: steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch' && steps.dependabot-metadata.outputs.dependency-names == 'pytest'
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}

close_pyLint:
if: github.event_name == 'pull_request' && github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
needs:
- codeValidation
permissions:
contents: write
pull-requests: write
steps:
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Merge PR
if: steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch' && steps.dependabot-metadata.outputs.dependency-names == 'pylint'
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}

close_flake8:
if: github.event_name == 'pull_request' && github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
needs:
- codeValidation
permissions:
contents: write
pull-requests: write
steps:
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Merge PR
if: steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch' && steps.dependabot-metadata.outputs.dependency-names == 'flake8'
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}

close_isort:
if: github.event_name == 'pull_request' && github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
needs:
- codeValidation
permissions:
contents: write
pull-requests: write
steps:
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Merge PR
if: steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch' && steps.dependabot-metadata.outputs.dependency-names == 'isort'
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
1 change: 0 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '31 18 * * 1'
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/docker-image.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/flake8.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/isort.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/lfendings.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/pylint.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/pytest.yml

This file was deleted.

1 change: 1 addition & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ disable=C0103,
R0914,
R0915,
R0916,
R0917,
W0201,
W0231,
W0406,
Expand Down
Loading
Loading