Skip to content

Replitで動作可能にしたLicensy。envでTOKENを指定して使ってください。

License

Notifications You must be signed in to change notification settings

t-kodai0417/Replit-Licensy

 
 

Repository files navigation

Licensy vAplha Activity Contributions welcome Python 3.6+ License AGPL3

Replitで実行可能にしたLicensy.

Replitでtokenをenvに入力するだけで使えます。 以下のボタンからforkして使用してください Run on Repl.it

Replitでの設定

  • main.shで色々動かすので、Bashにしてください。普通にこのリポジトリをインポートすればBashになると思います。
  • Pythonのバージョンは8ぐらいがいいです。つまり、Replitで使うなら何もいじらなくていいという事です。
  • 詳しくは、動画を見てやってください。

公式のでは無い、新規コマンド

  • !one_monthコマンドで今の1ヶ月後のタイムスタンプが貼られます。
  • !lifetimeコマンドで、今の200年後のタイムスタンプが貼られます。


ここから下は公式のReadMeとほぼ一緒です。

サブスクリプションで役割の有効期限を簡単に管理

ライセンスのコードを入力することでロールを付与可能。 複数のサーバーで独立して動作します。

クイックスタート

ボットの機能を使うために、管理者権限を渡してください。

デフォルトのプレフィックスは !です。

デフォルトのライセンスの有効期限は30日(720時間)です。

!generateコマンドを利用して、期限付きでロールが取れるライセンスをジェネレートすることができます。 (例)

!generate 5 @subscription 1m

この場合だと、 @subscription ロールが1ヶ月だけ持てるライセンスを5個ジェネレートすることができます。 詳しくは公式のReadMeを見てください。

License

This project is licensed under the GNU AGPLv3 License - see the LICENSE.md file for details , for plain english you can check out tldrlegal.

If you fork/download the code and run your own bot instance WITHOUT changing the code then you don't have to worry regarding the license as all is already implemented in the bot functionality (commands that link to this readme, state authors etc..)

But if you fork/download/host this bot and you CHANGED any of the code you must hold to this:

  • Include copyright (see Authors)
    • You cannot claim this code as yours.
  • Include the same license (see LICENSE.md)
  • State changes
    • any changes to the source code must be disclosed (public).
  • Disclose source
    • you cannot take the code and make it private.
  • Include install instructions
    • You can link to this readme or to your own instructions.

Only and only if you adhere to all of the above points you can:

  • Use the bot for commercial use
  • Modify the source
  • Distribute the bot
  • Place Warranty

About

Replitで動作可能にしたLicensy。envでTOKENを指定して使ってください。

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.9%
  • Shell 0.1%