slash
Version, currently main branch1 version
- main branchlatestNov 4, 2025
github.com/greenbigfrog/mini-tmp
No description declared in shard.yml.
0 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
slash:
github: greenbigfrog/mini-tmp
branch: mainmain is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.27.0- License
- MIT
- Author
- Jonathan B.
- Targets
slashfrom src/entrypoint.crexternalfrom src/external/external.cr
Dependencies
Runtime Dependencies
- dhash*github: greenbigfrog/dhash-cr, branch: main
- discordcr*github: greenbigfrog/discordcr-1, branch: special
Development Dependencies
- ameba~> 0.13.0github: crystal-ameba/amebadev
README
mini-slash
Highlighter/Auxiliary bot for TCD
Dependencies
- Docker
- libvips (including GI Bindings)
Usage
Uses TOKEN, SERVER, and takes path to file as argument.
Requires the Server Members Intent to be turned in the Discord Dev Dashboard.
---
linked-joins:
731584499300696126: 749361970721063003
dhash:
some-pfp: 99805943371466503880474332147715089847241471423457971211378056886063464448
admins:
- 163607982473609216
whitelist_roles:
- 257497572183113728
notifications: 525783962023362616
action_log: 525783962023362616
pfp_log: 525783962023362616
ban_message: "You have been banned from The Coding Den. Reason: `%s`.\nTo appeal, visit <https://tcd.one/appeal>"
groups:
- name: badware
mode: delete
words:
- skype
- teamspeak
whitelist:
- discord
- name: spam
mode: softban
words:
- somepornsite101010.com
whitelist:
- discord
- name: slurs
mode: log
words:
- jap
whitelist:
- japan
message_cache_config:
size: 500
min_message_length: 10
short_message_length: 15
short_message_similarity_threshold: 85
similarity_threshold: 60
similarity_threshold_single: 128
max_time_diff_minutes: 3
max_size_diff_percentage: 30
ignored_channels: [856970378545725463]
point_requirement_single: 5
point_requirement_multi: 10
points_on_match: 1
point_overrides:
nitro: 2
Available Modes
LogSimply sends a notification to a preset channel via the configDeleteDeletes the messageSoftbanDeletes all the messages the user sent the past 24h by banning them, and unbanning them againBanSame as above, except they don't get unbanned
Docker
docker compose up
Contributing
- Fork it (https://github.com/TheCodingDen/mini-slash)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Jonathan B. - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
main- Seen
- Nov 4, 2025
- Crystal
0.27.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/greenbigfrog/mini-tmp
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1