Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [ '18', '20', '22', '24', 'latest' ]
node-version: [ '18', '20', '22', '24', '26' ]
name: Node ${{ matrix.node-version }}
steps:
- uses: actions/checkout@v4
Expand Down
228 changes: 167 additions & 61 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,61 +1,167 @@
License text copyright (c) 2020 MariaDB Corporation Ab, All Rights Reserved.
“Business Source License” is a trademark of MariaDB Corporation Ab.

Parameters

Licensor: ScootKit UG (haftungsbeschränkt)
Licensed Work: ScootKit/CustomDCBot. The Licensed Work is (c) 2026 ScootKit UG (haftungsbeschränkt)
Additional Use Grant: You may make production use of the Licensed Work,
provided such use does not include offering the Licensed Work
to third parties on a hosted or embedded basis which is
competitive with ScootKit UG (haftungsbeschränkt)'s products.
Change Date: Eight years from the date the Licensed Work is published.
Change License: MIT License

For information about alternative licensing arrangements for the Licensed Work,
please contact oss@scootkit.net.

Notice

Business Source License 1.1

Terms

The Licensor hereby grants you the right to copy, modify, create derivative
works, redistribute, and make non-production use of the Licensed Work. The
Licensor may make an Additional Use Grant, above, permitting limited production use.

Effective on the Change Date, or the fourth anniversary of the first publicly
available distribution of a specific version of the Licensed Work under this
License, whichever comes first, the Licensor hereby grants you rights under
the terms of the Change License, and the rights granted in the paragraph
above terminate.

If your use of the Licensed Work does not comply with the requirements
currently in effect as described in this License, you must purchase a
commercial license from the Licensor, its affiliated entities, or authorized
resellers, or you must refrain from using the Licensed Work.

All copies of the original and modified Licensed Work, and derivative works
of the Licensed Work, are subject to this License. This License applies
separately for each version of the Licensed Work and the Change Date may vary
for each version of the Licensed Work released by Licensor.

You must conspicuously display this License on each original or modified copy
of the Licensed Work. If you receive the Licensed Work in original or
modified form from a third party, the terms and conditions set forth in this
License apply to your use of that work.

Any use of the Licensed Work in violation of this License will automatically
terminate your rights under this License for the current and all other
versions of the Licensed Work.

This License does not grant you any right in any trademark or logo of
Licensor or its affiliates (provided that you may use a trademark or logo of
Licensor as expressly required by this License).

TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
TITLE.
Required Notice: Copyright ScootKit UG (haftungsbeschränkt) (https://scootkit.com)
Licensor Line of Business: SCNX – hosting, management and automation of Discord bots (https://scnx.xyz, https://scnx.app)

For commercial licensing, contact oss@scootkit.net.

# PolyForm Shield License 1.0.0

<https://polyformproject.org/licenses/shield/1.0.0>

## Acceptance

In order to get any license under these terms, you must agree
to them as both strict obligations and conditions to all
your licenses.

## Copyright License

The licensor grants you a copyright license for the
software to do everything you might do with the software
that would otherwise infringe the licensor's copyright
in it for any permitted purpose. However, you may
only distribute the software according to [Distribution
License](#distribution-license) and make changes or new works
based on the software according to [Changes and New Works
License](#changes-and-new-works-license).

## Distribution License

The licensor grants you an additional copyright license
to distribute copies of the software. Your license
to distribute covers distributing the software with
changes and new works permitted by [Changes and New Works
License](#changes-and-new-works-license).

## Notices

You must ensure that anyone who gets a copy of any part of
the software from you also gets a copy of these terms or the
URL for them above, as well as copies of any plain-text lines
beginning with `Required Notice:` that the licensor provided
with the software. For example:

> Required Notice: Copyright Yoyodyne, Inc. (http://example.com)

## Changes and New Works License

The licensor grants you an additional copyright license to
make changes and new works based on the software for any
permitted purpose.

## Patent License

The licensor grants you a patent license for the software that
covers patent claims the licensor can license, or becomes able
to license, that you would infringe by using the software.

## Noncompete

Any purpose is a permitted purpose, except for providing any
product that competes with the software or any product the
licensor or any of its affiliates provides using the software.

## Competition

Goods and services compete even when they provide functionality
through different kinds of interfaces or for different technical
platforms. Applications can compete with services, libraries
with plugins, frameworks with development tools, and so on,
even if they're written in different programming languages
or for different computer architectures. Goods and services
compete even when provided free of charge. If you market a
product as a practical substitute for the software or another
product, it definitely competes.

## New Products

If you are using the software to provide a product that does
not compete, but the licensor or any of its affiliates brings
your product into competition by providing a new version of
the software or another product using the software, you may
continue using versions of the software available under these
terms beforehand to provide your competing product, but not
any later versions.

## Discontinued Products

You may begin using the software to compete with a product
or service that the licensor or any of its affiliates has
stopped providing, unless the licensor includes a plain-text
line beginning with `Licensor Line of Business:` with the
software that mentions that line of business. For example:

> Licensor Line of Business: YoyodyneCMS Content Management
System (http://example.com/cms)

## Sales of Business

If the licensor or any of its affiliates sells a line of
business developing the software or using the software
to provide a product, the buyer can also enforce
[Noncompete](#noncompete) for that product.

## Fair Use

You may have "fair use" rights for the software under the
law. These terms do not limit them.

## No Other Rights

These terms do not allow you to sublicense or transfer any of
your licenses to anyone else, or prevent the licensor from
granting licenses to anyone else. These terms do not imply
any other licenses.

## Patent Defense

If you make any written claim that the software infringes or
contributes to infringement of any patent, your patent license
for the software granted under these terms ends immediately. If
your company makes such a claim, your patent license ends
immediately for work on behalf of your company.

## Violations

The first time you are notified in writing that you have
violated any of these terms, or done anything with the software
not covered by your licenses, your licenses can nonetheless
continue if you come into full compliance with these terms,
and take practical steps to correct past violations, within
32 days of receiving notice. Otherwise, all your licenses
end immediately.

## No Liability

***As far as the law allows, the software comes as is, without
any warranty or condition, and the licensor will not be liable
to you for any damages arising out of these terms or the use
or nature of the software, under any kind of legal claim.***

## Definitions

The **licensor** is the individual or entity offering these
terms, and the **software** is the software the licensor makes
available under these terms.

A **product** can be a good or service, or a combination
of them.

**You** refers to the individual or entity agreeing to these terms.

**Your company** is any legal entity, sole proprietorship,
or other kind of organization that you work for, plus all
its affiliates.

**Affiliates** means the other organizations than an
organization has control over, is under the control of, or is
under common control with.

**Control** means ownership of substantially all the assets of an
entity, or the power to direct its management and policies by
vote, contract, or otherwise. Control can be direct or indirect.

**Your licenses** are all the licenses granted to you for the
software under these terms.

**Use** means anything you do with the software requiring one
of your licenses.
49 changes: 23 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,59 +50,56 @@ bot. See [scnx.xyz](https://scnx.xyz/support-bot) for details.
You might wonder why the same bot exists in two flavors. Short version:

* **OSS (this repo).** The base bot, modular core, and a curated set of modules that work standalone. Good for
self-hosters, learners, and people who want to fork. Released under [BUSL-1.1](#license---read-before-using).
self-hosters, learners, and people who want to fork. Released under the [PolyForm Shield License 1.0.0](#license---read-before-using).
* **SCNX (hosted).** Everything in OSS, plus the dashboard, several integration modules (AI features, anti-nuke,
giveaways, the social-platform notifiers, etc.), the visual editors, the customer support, and the managed
infrastructure.

We split it this way because the dashboard, infra, and several modules cost money to build and run. Giving them away
for free would mean we couldn't pay the people who build them. Keeping a strong OSS core (with a non-compete clause via
BUSL) lets us be transparent about how the bot works, accept community contributions, and let advanced users self-host
the PolyForm Shield license) lets us be transparent about how the bot works, accept community contributions, and let advanced users self-host

- without subsidizing competitors who would just rebrand and resell our work.

If you want the rebrand-and-resell freedom that an MIT/Apache license would give you, the [LICENSE](LICENSE) explains
how to negotiate commercial terms. For everyone else, the [Additional Use Grant](LICENSE) is broad enough to cover
the use cases people actually have: run the bot in your own community, modify it, contribute back, learn from it.
how to negotiate commercial terms. For everyone else, the license is broad enough to cover the use cases people
actually have: run the bot in your own community, modify it, contribute back, learn from it.

## License - read before using

> **This is NOT MIT, Apache, or any other permissive license.** It is the
> [Business Source License 1.1](LICENSE) (BUSL-1.1, the same license used by MariaDB, CockroachDB, and Sentry). Read
> the full [LICENSE](LICENSE) before deploying anything based on this code.
> **This is NOT MIT, Apache, or any other fully permissive license.** It is the
> [PolyForm Shield License 1.0.0](LICENSE) with a non-compete clause. Read the full [LICENSE](LICENSE) before
> deploying anything based on this code.

### What you can do

* **Self-host for your own community.** Run this bot on your own server, in your own Discord guild, for your own
members. No fees, no permission needed.
* **Modify and contribute.** Fork the repo, change the code, build your own modules. Pull requests welcome.
* **Distribute copies and modified versions**, as long as you follow the notice rules below.
* **Learn from it.** Read the source, copy patterns into unrelated projects, write tutorials.

### What you CANNOT do

* **You may NOT offer this bot - or any modified version, fork, or derivative - as a hosted, managed, or embedded
service to third parties in a way that competes with [scnx.app](https://scnx.app).** That includes selling,
reselling, "free with ads," white-labeling, or running it for paying customers. This is the explicit "Additional Use
Grant" carve-out in the license, and we enforce it.
* **You may NOT relicense or sublicense this code** under MIT, Apache, GPL, or anything else. The license travels with
the code.
Any purpose is permitted, except the one below.

### What you MUST do if you publish modifications
### What you CANNOT do

* **Publish your source.** Any modified or derivative work distributed to third parties must be made available under
this same license.
* **Document your changes.** State what you changed and when.
* **Carry the license.** Display BUSL-1.1 prominently on every copy or fork.
* **You may NOT provide a product that competes with this software or with any product ScootKit or its affiliates
provide using it.** ScootKit's line of business is [SCNX](https://scnx.app) - hosting, management and automation of
Discord bots - so offering this bot, or a modified version, fork or derivative, as a hosted or managed service to
third parties in competition with it is not allowed. That includes selling, reselling, "free with ads" and
white-labeling. The license's "Noncompete" section is the authoritative text, and we enforce it.
* **You may NOT sublicense or transfer your license** to anyone else.

### When does it become MIT?
### What you MUST do if you share the code

The license auto-converts to **MIT License** eight years after a given version is published (or four years after
its first public distribution, whichever comes first). After that date, that specific version is fully permissive.
Newer versions stay BUSL until their own clock runs out.
* **Pass on the terms.** Anyone who gets a copy of any part of the software from you must also get a copy of the
license or its URL (https://polyformproject.org/licenses/shield/1.0.0).
* **Keep the notice lines.** Keep every plain-text line beginning with `Required Notice:` from the [LICENSE](LICENSE)
file with the code.

### Need a commercial license?

If your intended use isn't covered by the Additional Use Grant - for example, you want to host this bot for paying
If your intended use falls under the non-compete clause - for example, you want to host this bot for paying
customers - email **oss@scootkit.net** to negotiate commercial terms. Operating outside the license without an
agreement is a violation and we will pursue it.

Expand Down Expand Up @@ -297,4 +294,4 @@ Check `src/functions/helpers.js` for utilities: `embedType()`, `formatDiscordUse

---

Copyright © 2026 ScootKit UG (haftungsbeschränkt). [BUSL-1.1](LICENSE) applies.
Copyright © 2026 ScootKit UG (haftungsbeschränkt). The [PolyForm Shield License 1.0.0](LICENSE) applies.
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"contributors": [
"SCDerox <simon@scootkit.com>"
],
"license": "LicenseRef-LICENSE",
"license": "PolyForm-Shield-1.0.0",
"dependencies": {
"@scderox/ikea-name-generator": "1.0.0",
"@twurple/api": "8.1.4",
Expand Down
Loading