Skip to content

Commit

Permalink
Implement AMA module (#76)
Browse files Browse the repository at this point in the history
* Implement AMA bot from https://github.com/NoComment1105/cozy-ama

* Change button appearance to match initial creation

* PluralKit support, more configuration possibilities, and extra response info

---------

Co-authored-by: NoComment <[email protected]>
  • Loading branch information
sschr15 and NoComment1105 committed Aug 11, 2023
1 parent 2baf74e commit e05000e
Show file tree
Hide file tree
Showing 21 changed files with 1,448 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions .idea/kotlinScripting.xml

This file was deleted.

2 changes: 2 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ dependencies {
implementation(libs.kx.ser)
implementation(libs.graphql)

implementation(project(":module-ama"))
implementation(project(":module-log-parser"))
implementation(project(":module-moderation"))
implementation(project(":module-role-sync"))
Expand Down
22 changes: 22 additions & 0 deletions module-ama/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
plugins {
`api-module`
`cozy-module`
`published-module`
}

dependencies {
detektPlugins(libs.detekt)
detektPlugins(libs.detekt.libraries)

ksp(libs.kordex.annotationProcessor)

implementation(libs.kordex.annotations)
implementation(libs.kordex.core)
implementation(libs.kordex.unsafe)
implementation(libs.kordex.pluralkit)

implementation(libs.logging)

implementation(platform(libs.kotlin.bom))
implementation(libs.kotlin.stdlib)
}
Loading

0 comments on commit e05000e

Please sign in to comment.