Git Product home page Git Product logo

discord_lawbot's Introduction

Discord_LawBot

版本更迭

version 2.4.0

  • 將機器人推到 Heroku 上,惟需要讓機器人自己喚醒自己,目前先用 Uptime Bot 撐著

version 2.5.2

  • 支援 「!刑法227『條』」、「!釋字813『號』」
  • 民法不再會誤判成國民法官法

version 2.5.3

  • 將使用說明移動至 usage.md,使用者現在只要輸入「!?」, 「!使用說明」,「!說明」即可

version 2.6.0

  • 新增管理員指令,輸入!!set [法條],即可設定預設法條
  • 將尋找法條之程式碼函數化

version 2.7.0

  • 如法條並不在 source code 內部,則自動去網站尋找第一個可以點的法條並搜尋

version 2.7.1

  • 解決與 MEE6 的 ! 指令前綴衝突

version 2.7.2

  • 修正其他法規的搜尋演算法(尋找 DOM element 是否包含 lebal-fei,故目前演算法暫不支援已廢棄法規
  • 修正 Error 的回傳訊息,以及修改 usage.md

version 2.7.5

  • 修正 requests 連線數過高之問題
  • 將 lawDict 文件化,並修改查詢函數邏輯
  • 修正因釋字585號解釋過長而造成的錯誤

version 2.7.6

  • 將 !! 指令下放給特定身份組

version 2.7.7

  • 將 !! 指令的權限開給特定身份組與特定使用者
  • 移除基礎法條的 ! 前置查詢

version 2.7.8

  • 將釋字也加入不用!的行列
  • 支援法條項次之查詢

version 2.8.0

  • 加入憲法判決之查詢

version 2.8.1

  • 憲法判決現已支援多年度之查詢

version 2.8.2

  • 更改 ! + 法規名稱之演算法,支援以常見簡稱搜尋不在 lawDict.txt 的法條

discord_lawbot's People

Contributors

terry25031069 avatar otteryc avatar

Watchers

 avatar

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.