Giter VIP home page Giter VIP logo

sortriddlefordiscord's Introduction

SortRiddleForDiscord

SortRiddleゲームをDiscordで遊ぶためのBot

SortRiddleとは

ある単語をバラバラに並べ替えたものから元の単語を考えるゲームです。
例:
「ルンザエフイン」-->「インフルエンザ」

利用方法

  1. Discord Botを作成する。右記の権限が必要です。「Send Messages」「Embed Links」「Read Message History」「Mention Everyone」
  2. コンパイルする
  3. /opt/settings.jsonをsrc/main/resources/setting_example.jsonのように書く。作成したBotsのTokenを記載してください。
  4. 動かす。以下がおすすめです。 nohup java -jar YOUR_JAR_FILE >YOUR_LOG_FILE 2>&1 &

コマンドリファレンス

-r : 1問出題します。すでに出題している場合は同じ問題を再度投稿します。問題がチャット上で流れてしまった場合に利用してください。
-a (解答) : 解答を受け付けます。部分的に一致する場合は合っていた文字数を返します。
-g : ギブアップを受け付けます。
-c : リセットされます。ギブアップと同様の機能です。
-h : ヘルプです。

ライセンスに関する表示

Discord4Jを利用しています。 https://github.com/Discord4J/Discord4J

Retrofitを利用しています。 https://square.github.io/retrofit/

sortriddlefordiscord's People

Contributors

squ4t4r014 avatar

Watchers

 avatar

sortriddlefordiscord's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.