Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

v1.4.3 -> v2 #1015

Draft
wants to merge 374 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
374 commits
Select commit Hold shift + click to select a range
20bae4b
lint
auguwu Oct 8, 2021
afe5b0f
Update dependency slash-create to v4.3.0
renovate-bot Oct 9, 2021
25f16d6
work on command core
auguwu Oct 10, 2021
ded8961
lint
auguwu Oct 10, 2021
f631fb7
a
auguwu Oct 10, 2021
c98dcc2
Update dependency ioredis to v4.27.11
renovate-bot Oct 11, 2021
43808f7
Update dependency ts-node to v10.3.0
renovate-bot Oct 11, 2021
18b169e
Update typescript-eslint monorepo to v5
renovate-bot Oct 11, 2021
8493c8a
Update dependency eslint to v8
renovate-bot Oct 11, 2021
8878939
Update dependency @types/ioredis to v4.27.7
renovate-bot Oct 12, 2021
bf5e109
Update dependency typescript to v4.4.4
renovate-bot Oct 12, 2021
181c583
Update dependency ioredis to v4.28.0
renovate-bot Oct 13, 2021
dc3e3b7
Update dependency eslint to v8.0.1
renovate-bot Oct 14, 2021
df4adfa
chore: update dependencies, move to Exposed for ORM
auguwu Oct 16, 2021
3c62696
Update dependency discord-api-types to v0.24.0
renovate-bot Oct 18, 2021
a89f1f6
Update typescript-eslint monorepo to v5.1.0
renovate-bot Oct 19, 2021
0b717a6
Update dependency @types/ioredis to v4.27.8
renovate-bot Oct 19, 2021
a7bd192
Update dependency fastify to v3.22.1
renovate-bot Oct 19, 2021
08cf5cf
Update dependency nodemon to v2.0.14
renovate-bot Oct 19, 2021
36bb5dc
Update prisma monorepo to v3.3.0
renovate-bot Oct 19, 2021
df7b98c
i have no idea what i did lol
auguwu Oct 20, 2021
5d05baa
mergo conflicto
auguwu Oct 20, 2021
85d03c8
make the bot... actually runnable
auguwu Oct 20, 2021
dba8e2e
localization module :D
auguwu Oct 20, 2021
4ad2eec
Update Node.js to v17
renovate-bot Oct 20, 2021
f2bf167
Update dependency husky to v7.0.4
renovate-bot Oct 21, 2021
4980fcd
Update dependency ts-node to v10.3.1
renovate-bot Oct 21, 2021
8597019
Update dependency ts-node to v10.4.0
renovate-bot Oct 22, 2021
59bd77d
Update dependency eslint to v8.1.0
renovate-bot Oct 22, 2021
b0c6d71
Update dependency @types/js-yaml to v4.0.4
renovate-bot Oct 23, 2021
0cccd0c
Update typescript-eslint monorepo to v5.2.0
renovate-bot Oct 25, 2021
8c78c3a
Update dependency @types/node to v16
renovate-bot Oct 26, 2021
aa1224a
Update typescript-eslint monorepo to v5.3.0
renovate-bot Nov 1, 2021
bc2fe6e
chore: new dependencies, prometheus module, work on command handler
auguwu Nov 2, 2021
7e148f0
Update prisma monorepo to v3.4.0
renovate-bot Nov 2, 2021
350f529
Update dependency prom-client to v14.0.1
renovate-bot Nov 2, 2021
ba018d3
Update dependency @types/ioredis to v4.28.0
renovate-bot Nov 3, 2021
55cd26b
Update dependency @sentry/node to v6.14.0
renovate-bot Nov 3, 2021
62c7be5
Update dependency @types/ioredis to v4.28.1
renovate-bot Nov 3, 2021
cee17c2
im too lazy to say what i did
auguwu Nov 4, 2021
d051b43
Update dependency fastify to v3.23.0
renovate-bot Nov 4, 2021
8dfa359
Update prisma monorepo to v3.4.1
renovate-bot Nov 5, 2021
99e33df
Update dependency @sentry/node to v6.14.1
renovate-bot Nov 5, 2021
8f35d4a
chore: refractor command handler (rip dynamic args), added in postgre…
auguwu Nov 6, 2021
28ba0bf
chore: add a mini message on ping only
auguwu Nov 6, 2021
a63c956
fix: remove commented code from `NinoBot` class.
auguwu Nov 6, 2021
d588996
merge conflict
auguwu Nov 6, 2021
6f641cc
Update dependency eslint to v8.2.0
renovate-bot Nov 6, 2021
edc3ddb
chore: remove useless modules, work on ravy module
auguwu Nov 6, 2021
f416329
chore: lint
auguwu Nov 6, 2021
cba73cd
Update dependency fastify to v3.23.1
renovate-bot Nov 7, 2021
3dfe3e1
Update dependency luxon to v2.1.0
renovate-bot Nov 7, 2021
93d60d5
chore: implement Redisson instead of Lettuce for Redis
auguwu Nov 8, 2021
a0aa797
Update dependency @types/luxon to v2.0.6
renovate-bot Nov 8, 2021
db4eec2
Update typescript-eslint monorepo to v5.3.1
renovate-bot Nov 8, 2021
5646eb5
Update dependency @types/node to v16.11.7
renovate-bot Nov 8, 2021
f07e02b
Update dependency luxon to v2.1.1
renovate-bot Nov 9, 2021
df5b23e
Update dependency @types/luxon to v2.0.7
renovate-bot Nov 9, 2021
59c0af3
Update prisma monorepo to v3.4.2
renovate-bot Nov 9, 2021
0685e53
Update dependency nodemon to v2.0.15
renovate-bot Nov 9, 2021
827f92e
Update dependency @sentry/node to v6.14.2
renovate-bot Nov 11, 2021
d29840f
Update dependency @sentry/node to v6.14.3
renovate-bot Nov 11, 2021
f934ad5
chore: make a complete pagination embed with buttons OwO
auguwu Nov 12, 2021
9d82b67
merge: edge -> 2.x
auguwu Nov 12, 2021
dd3ce45
chore: add `invite` and `help` commands
auguwu Nov 14, 2021
d85b8d7
Update dependency slash-create to v4.3.1
renovate-bot Nov 14, 2021
e3f300c
chore: ping command :D
auguwu Nov 14, 2021
9b2b7ee
Update dependency fastify to v3.24.0
renovate-bot Nov 15, 2021
0c1cfad
Update typescript-eslint monorepo to v5.4.0
renovate-bot Nov 15, 2021
7fed9f3
Update dependency @sentry/node to v6.15.0
renovate-bot Nov 16, 2021
a8ec401
Update prisma monorepo to v3.5.0
renovate-bot Nov 16, 2021
3fc5fef
Update dependency typescript to v4.5.2
renovate-bot Nov 17, 2021
da6be83
Update dependency @types/node to v16.11.8
renovate-bot Nov 18, 2021
17cb441
Update dependency @types/node to v16.11.9
renovate-bot Nov 19, 2021
4bc76de
Update dependency source-map-support to v0.5.21
renovate-bot Nov 19, 2021
2888303
Update dependency @types/js-yaml to v4.0.5
renovate-bot Nov 19, 2021
b45c6ea
Update dependency eslint to v8.3.0
renovate-bot Nov 21, 2021
5fee65b
Update dependency ioredis to v4.28.1
renovate-bot Nov 23, 2021
7ddc4d9
Update dependency ws to v8.3.0
renovate-bot Nov 23, 2021
681c35a
Update dependency @types/node to v16.11.10
renovate-bot Nov 23, 2021
0e4c1b9
chore: use Kotlin 1.6, add in all core and easter egg commands
auguwu Nov 24, 2021
c02ac89
Update dependency prettier to v2.5.0
renovate-bot Nov 25, 2021
424ab61
chore: system commands, add in KTOR for Prometheus export
auguwu Nov 25, 2021
e668663
chore: edge -> 2.x
auguwu Nov 25, 2021
486ed62
chore: work on slash commands
auguwu Nov 27, 2021
59e12e5
chore: slash commands :tada:
auguwu Nov 27, 2021
fb37ac8
chore: work on slash subcommand (groups)
auguwu Nov 27, 2021
ce22563
Update dependency discord-api-types to v0.25.0
renovate-bot Nov 29, 2021
856169f
Update dependency tslog to v3.3.0
renovate-bot Nov 29, 2021
c6a6169
Update dependency fastify to v3.24.1
renovate-bot Nov 29, 2021
2ed103f
Update dependency @types/ws to v8.2.1
renovate-bot Nov 29, 2021
4a54a16
Update typescript-eslint monorepo to v5.5.0
renovate-bot Nov 29, 2021
fbeab56
Update dependency @types/node to v16.11.11
renovate-bot Nov 30, 2021
fc97c38
Update dependency discord-api-types to v0.25.1
renovate-bot Nov 30, 2021
3f7d33f
Update prisma monorepo to v3.6.0
renovate-bot Nov 30, 2021
6e69904
Update dependency discord-api-types to v0.25.2
renovate-bot Nov 30, 2021
34fd70e
Update dependency ioredis to v4.28.2
renovate-bot Dec 1, 2021
5749a6c
Update dependency @types/ioredis to v4.28.2
renovate-bot Dec 3, 2021
4f58cea
Update dependency eslint to v8.4.0
renovate-bot Dec 4, 2021
6558cf5
Update dependency prettier to v2.5.1
renovate-bot Dec 4, 2021
561610c
Update dependency slash-create to v4.4.0
renovate-bot Dec 6, 2021
e4dd489
Update typescript-eslint monorepo to v5.6.0
renovate-bot Dec 6, 2021
0dec6b3
Update dependency eslint to v8.4.1
renovate-bot Dec 7, 2021
4706c65
Update dependency @types/ws to v8.2.2
renovate-bot Dec 7, 2021
a218116
Update dependency @types/node to v16.11.12
renovate-bot Dec 7, 2021
ecbbfbe
Update dependency @sentry/node to v6.16.0
renovate-bot Dec 7, 2021
5e8422a
Update dependency @types/ioredis to v4.28.3
renovate-bot Dec 9, 2021
7ed532b
Update dependency typescript to v4.5.3
renovate-bot Dec 9, 2021
5bce2a7
Update dependency @sentry/node to v6.16.1
renovate-bot Dec 10, 2021
b055bfc
Update dependency luxon to v2.2.0
renovate-bot Dec 10, 2021
afbf4fe
chore: finally implement punishment service (not tested)
auguwu Dec 11, 2021
28eead4
chore: merge edge -> 2.x
auguwu Dec 11, 2021
ecc70d9
chore: add in simple cache, for now.
auguwu Dec 11, 2021
6d2389a
Update typescript-eslint monorepo to v5.7.0
renovate-bot Dec 13, 2021
e32cdd8
Update dependency @types/luxon to v2.0.8
renovate-bot Dec 13, 2021
da92961
Update dependency typescript to v4.5.4
renovate-bot Dec 14, 2021
c3222f9
Update dependency @types/ioredis to v4.28.4
renovate-bot Dec 14, 2021
3179059
Update dependency fastify to v3.25.0
renovate-bot Dec 14, 2021
53b44e7
Update dependency @types/node to v16.11.13
renovate-bot Dec 14, 2021
b71a891
Update dependency @types/node to v16.11.14
renovate-bot Dec 15, 2021
7ba1955
Update dependency @types/ioredis to v4.28.5
renovate-bot Dec 16, 2021
7078ca2
Update dependency eslint to v8.5.0
renovate-bot Dec 18, 2021
cec5933
Update dependency slash-create to v4.4.1
renovate-bot Dec 19, 2021
6be266e
Update dependency slash-create to v4.4.2
renovate-bot Dec 20, 2021
70012cb
Update dependency ws to v8.4.0
renovate-bot Dec 20, 2021
a658c87
Update typescript-eslint monorepo to v5.8.0
renovate-bot Dec 20, 2021
a8eab92
Update dependency @types/node to v16.11.15
renovate-bot Dec 21, 2021
2c5f0d8
Update dependency fastify to v3.25.1
renovate-bot Dec 21, 2021
f033e1a
Update prisma monorepo to v3.7.0
renovate-bot Dec 21, 2021
91820fc
Update dependency @types/node to v16.11.16
renovate-bot Dec 23, 2021
dff09f3
Update dependency @types/node to v16.11.17
renovate-bot Dec 23, 2021
e733199
Update dependency fastify to v3.25.2
renovate-bot Dec 23, 2021
dfa4101
Update dependency slash-create to v5
renovate-bot Dec 23, 2021
27fe605
Update dependency discord-api-types to v0.26.0
renovate-bot Dec 24, 2021
f98f2fa
Update dependency slash-create to v5.0.1
renovate-bot Dec 24, 2021
df924a0
Update typescript-eslint monorepo to v5.8.1
renovate-bot Dec 27, 2021
8e470d9
Update dependency fastify to v3.25.3
renovate-bot Dec 28, 2021
3a8438c
Update dependency tslog to v3.3.1
renovate-bot Dec 28, 2021
5b1f796
chore: refractor project into seperate, smaller modules; refractor Do…
auguwu Dec 29, 2021
52cc3e2
workflow: add timeouts + redis as seperate services for unit testing,…
auguwu Dec 29, 2021
f6a5559
fix: merge conflict from edge -> 2.x; use java 17 for workflow, add u…
auguwu Dec 29, 2021
30f4f9d
fix(workflow): workflow from not dying
auguwu Dec 29, 2021
bcab148
fix(workflow): remove health checks
auguwu Dec 29, 2021
3ff5648
chore: finish somewhat of the core, add in temporary files for comman…
auguwu Dec 31, 2021
c5fb2e7
Update dependency eslint to v8.6.0
renovate-bot Jan 1, 2022
03c83a4
Update dependency discord-api-types to v0.26.1
renovate-bot Jan 2, 2022
c9053f9
Update dependency luxon to v2.3.0
renovate-bot Jan 2, 2022
f8a706b
chore: get bot working, update license year from 2019-2021 -> 2019-2022
auguwu Jan 2, 2022
66b50b9
fix(conflict): 2.x ~> edge
auguwu Jan 2, 2022
2542f0e
chore: lint, qol changes
auguwu Jan 2, 2022
e15c0b7
fix: typescript from not committing :woeme:
auguwu Jan 2, 2022
c89586b
fix: docker build for ts (yet again)
auguwu Jan 2, 2022
3da42ff
fix: do not import prisma as a singleton
auguwu Jan 2, 2022
facaa3a
chore: add in text-based command handler, add back test and wah commands
auguwu Jan 3, 2022
7bdb954
chore: spotless apply!
auguwu Jan 3, 2022
31b87ec
fix: dockerfile + merge conflict from edge -> 2.x
auguwu Jan 3, 2022
3195b17
fix: docker from committing :woeme:
auguwu Jan 3, 2022
b3d18e4
feat: implement Message Links automod, add in in-complete automod com…
auguwu Jan 3, 2022
cd6b18c
chore: lint
auguwu Jan 3, 2022
867f5ea
chore: move slash commands from http -> gateway, optimize regex for m…
auguwu Jan 4, 2022
8aadfa9
feat: add in automod command, work on slash commands impl
auguwu Jan 5, 2022
bd3adb1
chore: lint :sparkles:
auguwu Jan 5, 2022
4f455f7
feat: add in redis, import + export commands, String and List union c…
auguwu Jan 6, 2022
9103cbf
chore: lint :sparkles:
auguwu Jan 6, 2022
0b059fc
refractor: add a lazy message `init`
auguwu Jan 6, 2022
1a3933f
refractor: project README
auguwu Jan 6, 2022
39ac238
refractor: api to use ktor server v2
auguwu Jan 7, 2022
9ab0f77
blep
auguwu Jan 15, 2022
63f2483
fix: go back to ktor v1 :sparkles:
auguwu Jan 18, 2022
6c3d17e
fix: spotless :sparkles: apply
auguwu Jan 18, 2022
0ec02f4
fix: ratelimiter using wrong hash table :eyes:
auguwu Jan 18, 2022
2e3a5ae
fix: timeouts tests throwing IllegalStateException instead of Connect…
auguwu Jan 18, 2022
cb6d9ed
chore: remove useless logger.info call
auguwu Jan 18, 2022
672ade0
feat: add in sentry + logging okhttp interceptors :sparkles:
auguwu Jan 18, 2022
2325ff9
feat: work on new gateway with MikaBot/cluster-operator, and such more
auguwu Jan 21, 2022
9ce9bdc
fix: gitignore to exclude config/logging.example.properties, linting …
auguwu Jan 21, 2022
c65ca1a
feat: add in nop listeners, add in prefix command, add in Logstash su…
auguwu Jan 26, 2022
2eba6c1
:whistle:
auguwu Jan 26, 2022
0b5187f
chore: work on event listeners :sparkles:
auguwu Jan 26, 2022
10a28f3
chore: add in help command + dump thread info command
auguwu Jan 27, 2022
04966af
chore: spotless apply :sparkles:
auguwu Jan 27, 2022
61961b6
feat: add in eval and shell commands :sparkles:
auguwu Jan 27, 2022
b0c226d
Improve Gradle build scripts
DRSchlaubi Jan 27, 2022
5f8578c
Update docker/run.sh
DRSchlaubi Jan 27, 2022
62d82b7
Update JVM_ARGS to JVM_OPTS
DRSchlaubi Jan 27, 2022
a4efed1
Merge pull request #973 from DRSchlaubi/2.x
auguwu Jan 28, 2022
b14a915
chore: use lf over crlf :sparkles:
auguwu Feb 6, 2022
1686450
chore: update dependencies
auguwu Feb 6, 2022
8a9c2d7
feat: finish help command, added -h usage to commands, spotless apply…
auguwu Feb 6, 2022
fe24e9e
:sparkles: lint
auguwu Feb 6, 2022
8ddd247
feat: ping, invite, and shardinfo commands :sparkles:
auguwu Feb 6, 2022
c65d4ec
feat: add source, statistics, and uptime commands; cleanup command fl…
auguwu Feb 12, 2022
18c2131
fix: spotless apply :sparkles:
auguwu Feb 12, 2022
c801ab1
chore(localization): translate the `rolecfg` command
auguwu Feb 12, 2022
20b59d6
Merge pull request #815 from NinoDiscord/2.x
auguwu Mar 30, 2022
86661d8
Update dependency ch.qos.logback:logback-classic to v1.2.11
renovate-bot Mar 30, 2022
0cd7227
Update dependency ch.qos.logback:logback-core to v1.2.11
renovate-bot Mar 30, 2022
f00c72b
Update dependency io.ktor:ktor-bom to v1.6.8
renovate-bot Mar 30, 2022
4d03d8d
Update dependency io.lettuce:lettuce-core to v6.1.8.RELEASE
renovate-bot Mar 31, 2022
c2ebc0c
Update dependency org.jetbrains.kotlinx:atomicfu-gradle-plugin to v0.…
renovate-bot Mar 31, 2022
a70329f
Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-bom to v1.6.0
renovate-bot Mar 31, 2022
7596960
Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.3.2
renovate-bot Mar 31, 2022
c15b8ca
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-bom to …
renovate-bot Mar 31, 2022
8f6a340
Update dependency org.postgresql:postgresql to v42.3.3
renovate-bot Mar 31, 2022
751ae9a
Update dependency org.slf4j:slf4j-api to v1.7.36
renovate-bot Mar 31, 2022
e109f74
Update dependency org.slf4j:slf4j-simple to v1.7.36
renovate-bot Mar 31, 2022
3c7b82a
Update dependency com.charleskorn.kaml:kaml to v0.43.0
renovate-bot Mar 31, 2022
2e0fbe9
Update dependency com.diffplug.spotless:spotless-plugin-gradle to v6.4.1
renovate-bot Mar 31, 2022
bbc9d0f
Update dependency gay.floof.commons:commons-slf4j to v1.3.0
renovate-bot Mar 31, 2022
e51547a
Update dependency gay.floof.utils:gradle-utils to v1.3.0
renovate-bot Mar 31, 2022
1662318
Update dependency gradle to v7.4.2
renovate-bot Mar 31, 2022
e481700
Update dependency io.kotest:kotest-bom to v5.2.2
renovate-bot Mar 31, 2022
05c251b
Update dependency io.prometheus:simpleclient to v0.15.0
renovate-bot Mar 31, 2022
de63c9f
Update dependency io.prometheus:simpleclient_common to v0.15.0
renovate-bot Apr 1, 2022
3c4edca
Update dependency io.prometheus:simpleclient_hotspot to v0.15.0
renovate-bot Apr 1, 2022
8fd25d3
Update dependency io.sentry:sentry to v5.7.1
renovate-bot Apr 1, 2022
e36cab8
Update dependency io.sentry:sentry-logback to v5.7.1
renovate-bot Apr 1, 2022
0ccb954
Update dependency org.jetbrains.exposed:exposed-bom to v0.37.3
renovate-bot Apr 1, 2022
409dab2
Update dependency com.diffplug.spotless:spotless-plugin-gradle to v6.4.2
renovate-bot Apr 6, 2022
f4c2708
Update dependency eclipse-temurin to v18
renovate-bot Apr 6, 2022
5d5abfb
Update dependency io.insert-koin:koin-core to v3.1.6
renovate-bot Apr 7, 2022
82a5a96
Update dependency io.sentry:sentry to v5.7.2
renovate-bot Apr 7, 2022
896ed05
Update dependency io.sentry:sentry-logback to v5.7.2
renovate-bot Apr 7, 2022
c66cc03
Update dependency io.kotest:kotest-bom to v5.2.3
renovate-bot Apr 9, 2022
6aa6bd3
Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-bom to v1.6.1
renovate-bot Apr 9, 2022
09021ab
Update dependency net.logstash.logback:logstash-logback-encoder to v7.1
renovate-bot Apr 9, 2022
c861a3b
chore: change license header
auguwu Apr 10, 2022
6b27354
fix(workflows): only deploy on release rather than push
auguwu Apr 10, 2022
f0abf43
refractor: put commands, commons, automod, and api modules in their o…
auguwu Apr 11, 2022
1431794
feat: add in module capabilities, refractor :bot:timeouts -> :modules…
auguwu Apr 11, 2022
05ec028
chore: remove :bot:timeouts submodule
auguwu Apr 11, 2022
a3a3c2c
chore: finish all modules
auguwu Apr 14, 2022
627c91c
chore: remove :bot:core and :bot:metrics, build :core subproject
auguwu Apr 14, 2022
f251f3c
chore: merge master -> edge
auguwu Apr 14, 2022
972d20a
feat: project structure refractor complete! :sparkles:
auguwu Apr 15, 2022
5927389
chore: fix spotless :sparkles:
auguwu Apr 15, 2022
c30189f
chore: remove api tests (for now)
auguwu Apr 15, 2022
c765611
Update dependency net.logstash.logback:logstash-logback-encoder to v7…
renovate-bot Apr 15, 2022
b05eb08
Update dependency org.jetbrains.kotlinx:atomicfu-gradle-plugin to v0.…
renovate-bot Apr 15, 2022
3d574ef
Merge pull request #1013 from NinoDiscord/renovate/net.logstash.logba…
auguwu Apr 15, 2022
dc5eb5b
Merge pull request #1016 from NinoDiscord/renovate/org.jetbrains.kotl…
auguwu Apr 15, 2022
2375349
Update dependency org.postgresql:postgresql to v42.3.4
renovate-bot Apr 15, 2022
6b9356f
Update dependency org.codehaus.janino:janino to v3.1.7
renovate-bot Apr 19, 2022
7c4bc8a
Update dependency org.jetbrains.exposed:exposed-bom to v0.38.2
renovate-bot Apr 19, 2022
b648375
chore: upgrade Kotlin to 1.6.21
auguwu Apr 21, 2022
55cc1d5
chore: upgrade Kotlin to 1.6.21, create new module (`:modules:ravy`)
auguwu Apr 21, 2022
44e59b4
feat: finish impl for ravy.org API module, work on API stuff
auguwu Apr 22, 2022
79d25e7
feat: migrate to Ktor 2, create API server with 4 endpoints: /info, /…
auguwu Apr 23, 2022
922dc75
chore: spotless apply :sparkles:
auguwu Apr 23, 2022
39fe841
chore: upgrade Spotless to 6.5.0, upgrade actions/checkout to v3
auguwu Apr 23, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
178 changes: 164 additions & 14 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,166 @@
node_modules/
.github/
.vscode/
data/
dist/
.husky/

.travis.yml
**.md
!README.md
docker-compose.yml
renovate.json
*.lock
# User-specific stuff
.idea/

# CMake
cmake-build-*/

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xm

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

### Intellij Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721

# *.iml
# modules.xml
# .idea/misc.xml
# *.ipr

# Sonarlint plugin
# https://plugins.jetbrains.com/plugin/7973-sonarlint
.idea/**/sonarlint/

# SonarQube Plugin
# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
.idea/**/sonarIssues.xml

# Markdown Navigator plugin
# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
.idea/**/markdown-navigator.xml
.idea/**/markdown-navigator-enh.xml
.idea/**/markdown-navigator/

# Cache file creation bug
# See https://youtrack.jetbrains.com/issue/JBR-2257
.idea/$CACHE_FILE$

# CodeStream plugin
# https://plugins.jetbrains.com/plugin/12206-codestream
.idea/codestream.xml

### JetBrains+all ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff

# Generated files

# Sensitive or high-churn files

# Gradle

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake

# Mongo Explorer plugin

# File-based project format

# IntelliJ

# mpeltonen/sbt-idea plugin

# JIRA plugin

# Cursive Clojure plugin

# Crashlytics plugin (for Android Studio and IntelliJ)

# Editor-based Rest Client

# Android studio 3.1+ serialized cache file

### JetBrains+all Patch ###
# Ignores the whole .idea folder and all .iml files
# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360

.idea/

# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023

*.iml
modules.xml
.idea/misc.xml
*.ipr

# Sonarlint plugin
.idea/sonarlint

### Kotlin ###
# Compiled class file
*.class

# Log file
*.log
application.yml

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

### Gradle ###
.gradle
build/

# Ignore Gradle GUI config
gradle-app.setting

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar

# Cache of project
.gradletasknamecache

# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
# gradle/wrapper/gradle-wrapper.properties

### Gradle Patch ###
**/build/

# other stuff
config.yml
.github
LICENSE
README.md
renovate.json
docker-compose.yml
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

9 changes: 0 additions & 9 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @auguwu @IceeMC
66 changes: 0 additions & 66 deletions .github/workflows/ESLint.yml

This file was deleted.

69 changes: 69 additions & 0 deletions .github/workflows/Production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# 🔨 Nino: Cute, advanced discord moderation bot made in Kord.
# Copyright (c) 2019-2022 Nino Team
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

name: Update Production instance
on:
release:
types:
- published

jobs:
build-container:
runs-on: ubuntu-latest
steps:
- name: Checks out the repository
uses: actions/checkout@v3

- name: Get the current git tag to use
id: tag
uses: dawidd6/action-get-tag@v1
with:
strip_v: true

- name: Login to the registry
run: echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login registry.floofy.dev -u august --password-stdin

- name: Build the container
run: docker build --no-cache . -t registry.floofy.dev/nino/bot:${{ steps.tag.outputs.tag }}

- name: Push to the registry
run: docker push registry.floofy.dev/nino/bot:${{ steps.tag.outputs.tag }}

deploy:
needs: build-container
runs-on: ubuntu-latest
steps:
- name: Login to Kubernetes
run: |
mkdir ~/.kube
echo "${{ secrets.KUBE_CONFIG }}" > ~/.kube/config

- name: Get the current git tag to use
id: tag
uses: dawidd6/action-get-tag@v1
with:
strip_v: true

- name: Set tag
run: kubectl set image deployment/nino-prod nino-prod=registry.floofy.dev/nino/bot:${{ steps.tag.outputs.tag }}

- name: Deploy to the bot
run: kubectl rollout status deployment/nino-prod
42 changes: 42 additions & 0 deletions .github/workflows/Sentry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# 🔨 Nino: Cute, advanced discord moderation bot made in Kord.
# Copyright (c) 2019-2022 Nino Team
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

name: Update Sentry release on sentry.floof.gay
on:
release:
types:
- created
jobs:
sentry-release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Create Sentry release
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: noelware
SENTRY_PROJECT: nino
SENTRY_URL: https://sentry.floof.gay
with:
environment: production
Loading