No description
  • Java 99.9%
  • Dockerfile 0.1%
Find a file
merrcraft 000525f0d7
Some checks failed
/ deploy (push) Has been cancelled
BETTER README HEHEHEH
2026-10-25 01:23:02 +00:00
.forgejo/workflows Set Cloudflare project to sunny-docs 2026-10-19 01:09:28 -07:00
.github/workflows Create deploy.yml for Vitepress on GitHUb pages 2025-06-17 21:30:37 -07:00
.idea Implement tokenized NLP 2025-06-19 10:13:53 -07:00
docs Remove old signature 2026-10-19 01:09:58 -07:00
gradle/wrapper First commit 2025-06-17 21:28:43 -07:00
src/main Register guild commands on join 2025-08-27 08:14:38 -07:00
.gitignore First commit 2025-06-17 21:28:43 -07:00
build.gradle.kts Register guild commands on join 2025-08-27 08:14:38 -07:00
compose.yml First commit 2025-06-17 21:28:43 -07:00
config_example.json First commit 2025-06-17 21:28:43 -07:00
Dockerfile First commit 2025-06-17 21:28:43 -07:00
gradlew First commit 2025-06-17 21:28:43 -07:00
gradlew.bat First commit 2025-06-17 21:28:43 -07:00
LICENSE Create LICENSE 2025-06-17 21:29:36 -07:00
nixpacks.toml Update nixpacks.toml 2025-10-18 08:57:49 -07:00
package-lock.json Upgrade packages 2026-10-19 01:05:39 -07:00
package.json Upgrade packages 2026-10-19 01:05:39 -07:00
README.md BETTER README HEHEHEH 2026-10-25 01:23:02 +00:00
settings.gradle.kts First commit 2025-06-17 21:28:43 -07:00

Sunny

IMPORTANT!

This is sunny in use for WOFTNW discord server.

Note

Well, not yet. Lets hope they steal my code <3 (please do.)

A smart, friendly support helper Discord bot.

About

Sunny is a Discord bot written in Java that automatically responds to user queries. It is designed first to answer questions and deliver support, but it can be used for general-purpose auto-replies too.

Why a support helper?

For users who need support:

  • Instant answers, anytime: Sunny gives users a quick first response, so they’re never left waiting.
  • Friendly and approachable: Sunny sets a warm tone, making your support channel feel more inviting.
  • Helpful suggestions: It finds and shares relevant articles, guides, and documentation to point users in the right direction.

For your project and support team:

  • Reduces repetitive questions: Sunny automatically replies to common inquiries, saving time and energy.
  • Promotes self-service: By guiding users to documentation, Sunny encourages independent problem-solving.
  • Keeps your team focused: With fewer interruptions, your team can concentrate on issues and improvements.

Why Sunny Bot?

Sunny stores potential answers in an index. Each answer has an associated query reference, which contains likely questions for that answer. You can have multiple indexes and link each to multiple channels. For example, you can have an API answer index for your #api-support channel and a rendering answer index for #rendering-support.

When a user asks a quesion, Sunny uses cosine similarity to compare the user's question to each answer's query reference. The answers are ranked by similarity and the top one, if it exceeds the minimum threshold, is presented to the user.

The user or someone who is knowledgeable can optionally select whether the reponse was the correct answer or collapse it if it was not. Sunny will use that feedback to tune the query reference for that answer and deliver more accurate responses in the future.

Use

See the documentation at https://sunny.dragoncat.org/start.

Development

To build the project from source, simply run the command ./gradlew shadowJar (on Windows, .\gradlew.bat shadowJar). The completed jar will appear in build/libs/Sunny-v*.jar.

Contributing

There are many ways in which you can contribute:

  • For bug reports, please create an issue on the GitHub repository detailing exactly how the error occurred and attaching any relevant crash reports or logs.
  • For feature requests, please create an issue on the GitHub repository detailing what the feature or enhancement should be and how it would improve the project.
  • For pull requests, please maintain good coding practices and take feedback eagerly.
  • You can also contribute simply by sharing the bot with other people who might like it :)

Thanks to

  • Discord for their chat platform and developer API.
  • JDA for making a great library for Discord API.
  • GitHub, for hosting my code.
  • Apache, for the cosine similarity search system.
  • IntelliJ, for developing a great IDE.
  • Jackson, for the JSON serialization library.
  • LanguageTool, for spell checking.
  • VitePress, for the awesome documentation site.
  • My best buddy bog.
  • Bog's sunny bot.