Skip to content

Commit 6cd69af

Browse files
authored
Merge pull request #43 from RooRay/main
2 parents b29570a + 953a180 commit 6cd69af

File tree

8 files changed

+58
-7
lines changed

8 files changed

+58
-7
lines changed

.github/workflows/spellcheck.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "Spell Check"
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
check:
9+
# run on all push events or on PR syncs not from the same repo
10+
if: github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name
11+
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
- name: Spell check
17+
uses: crate-ci/[email protected]

docs/features/commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ The `time` option can be any number of minutes, hours, days, or weeks - e.g. `5d
102102

103103
| Name | Description | Example |
104104
| :--------------------------------------------------------------: | :--------------------------------------------------------------------------------------------: | :-----: |
105-
| :material-comment-text:{ .tip title="Autocompleted" } `category` | Close all tickets in hte specified category (can be used with 'time') | N/A |
105+
| :material-comment-text:{ .tip title="Autocompleted" } `category` | Close all tickets in the specified category (can be used with 'time') | N/A |
106106
| `reason` | The reason why the ticket(s) should be closed | N/A |
107107
| :material-comment-text:{ .tip title="Autocompleted" } `ticket` | The ticket to close | N/A |
108108
| `time` | Close all tickets that have been inactive for the specified time (can be used with 'category') | `1w` |

docs/features/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ This flowchart shows the different pathways that can be taken to create a ticket
5757
flowchart TB
5858
A1(["➡️ /new command"]) ----> B
5959
A2(["➡️ Panel button/menu"]) ----> D
60-
A3(["➡️ Messsage:Create command"]) ---> B
60+
A3(["➡️ Message:Create command"]) ---> B
6161
%% fa:fa-arrow-right-long
6262
A4(["➡️ User:Create command (staff)"]) -...->|"Staff interaction"| B
63-
A5(["➡️ DM (message is topic)"]) --> AA{Mulitple servers?}
63+
A5(["➡️ DM (message is topic)"]) --> AA{Multiple servers?}
6464
AA -->|Yes| AA1[/"❓ Select server with menu"/] ---> B
6565
AA -->|No| B
6666
B{Multiple categories?}

docs/self-hosting/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The installation guides also explain where to find most of the environment varia
2525
DB_CONNECTION_URL="mysql://bots:VerySecurePassword123@localhost/tickets0"
2626
DB_PROVIDER=mysql
2727
DISCORD_SECRET=rUpDU2T8K4ZXie8kdpzYsMTLbUhvmBRd
28-
DISCORD_TOKEN=ODcwOTg1TY0NjI0NODI2Mzc0.DNg0e0.UYVof7V1v0kRA0HHtGwXKA3UERxwANAZhQiA
28+
DISCORD_TOKEN=ODcwOTg1TY0NjI0NODI2Mzc0.DNg0e0.UYVof7V1v0kRA0HHtGwXKA3URxwANAZhQiA
2929
ENCRYPTION_KEY=445940dbed49eff55df56dd646fa1cb4b686df4cb9ac004a
3030
HTTP_EXTERNAL=https://tickets.example.com
3131
HTTP_HOST=0.0.0.0

docs/self-hosting/installation/docker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ docker run -itd \
231231
-e DB_CONNECTION_URL="mysql://bots:VerySecurePassword123@localhost/tickets0" \
232232
-e DB_PROVIDER="mysql" \
233233
-e DISCORD_SECRET="rUpDU2T8K4ZXie8kdpzYsMTLbUhvmBRd" \
234-
-e DISCORD_TOKEN="ODcwOTg1TY0NjI0NODI2Mzc0.DNg0e0.UYVof7V1v0kRA0HHtGwXKA3UERxwANAZhQiA" \
234+
-e DISCORD_TOKEN="ODcwOTg1TY0NjI0NODI2Mzc0.DNg0e0.UYVof7V1v0kRA0HHtGwXKA3URxwANAZhQiA" \
235235
-e ENCRYPTION_KEY="445940dbed49eff55df56dd646fa1cb4b686df4cb9ac004a" \
236236
-e HTTP_EXTERNAL="https://tickets.example.com" \
237237
-e HTTP_TRUST-PROXY="true" \

docs/self-hosting/reverse-proxy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ server {
132132
This example shows the additions you may need to make to your `docker-compose.yml` file to configure Traefik.
133133
After installing and configuring Traefik (referring to the documentation linked above), change the highlighted values to match your configuration.
134134

135-
This example shows the configuration you may need to add to the `bot` service & router in [:octicons-arrow-right-24: exemple docker-compose.yml](https://github.com/discord-tickets/bot/blob/main/docker-compose.yml) file.
135+
This example shows the configuration you may need to add to the `bot` service & router in [:octicons-arrow-right-24: example docker-compose.yml](https://github.com/discord-tickets/bot/blob/main/docker-compose.yml) file.
136136
Refer to the documentation linked above for more information.
137137

138138
<div class="annotate" markdown>

docs/self-hosting/updating.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ This guide assumes you're using a Bot hosting plan from PebbleHost and not a ded
6767

6868
![4](https://github.com/discord-tickets/docs/assets/86845749/264cc0fa-a488-4b58-a664-26647921898e)
6969

70-
5) Select the databse you're using from the list
70+
5) Select the database you're using from the list
7171

7272
![5](https://github.com/discord-tickets/docs/assets/86845749/88315de1-e3cc-43d7-95dc-54df945852b2)
7373

typos.toml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Used by the typos action
2+
3+
[default]
4+
locale = "en-gb"
5+
check-filename = true
6+
extend-ignore-re = [
7+
8+
# Most usage of these words is in code where the american spelling is used or required
9+
"Authorization",
10+
"initialize",
11+
"mustache",
12+
"Mustache",
13+
"color"
14+
15+
]
16+
17+
[files]
18+
extend-exclude = [
19+
20+
# Code is primarily written in American English
21+
"*.txt",
22+
"*.toml",
23+
"*.yaml",
24+
"*.yml",
25+
"*.js",
26+
"*.html",
27+
"*.css",
28+
"overrides/",
29+
30+
# Written entirely in American English
31+
"LICENSE",
32+
"docs/terms.md"
33+
34+
]

0 commit comments

Comments
 (0)