Commands - OriginCode/IRCBot-SimpleBot GitHub Wiki

Welcome to the IRCBot-SimpleBot wiki!

Commands start with ':'!

Command List

  • test
  • version
  • fortune
  • echo
  • time
  • wiki
  • github
  • pypi
  • weather
  • zhweather
  • city2id
  • zhuyin
  • chanlist
  • tell
  • sh
  • exit

Introduction

Users' Commands

  • fortune ==> Show a fortune!
  • echo <msg> ==> Let bot say what u want to say.
  • time:
    • default(without any options) ==> Show the current Asia/ShangHai(+8) time.
    • Option: tz. Usage: :time tz:<+/-> ==> Show the current GMT<+/-> time.
    • Option: uts. Usage: :time uts ==> Show the current Unix Timestamp.(GMT+8)
  • wiki <...> ==> Search the wikipedia(Not recommened).
  • github:
    • default(without any options) ==> Search the open-sourced repositories on GitHub.
    • Option: commits. Usage: :github(commits) / Or :github(commits)[] / ==> Show the commits of this repo recently.
    • Option: user. Usage: :github(user) ==> Search the users on GitHub.
    • Option: all. Usage: :github(all) <...> ==> Look up for all!
  • pypi <PackageName> ==> Search the packages on PyPI.
  • weather <CityName> ==> Show the 's weather. (API: openweathermap.org)
  • zhweather <中国城市名 ChineseCityName> ==> Show the Chinese citie's weather. (API: www.seniverse.com)
  • city2id:
    • default(without any options, the city name's first must be in upper case!) ==> Turn the cities into their city id. ( openweathermap.org )
    • Option: tq. Usage: :city2id(tq) ==> ONLY FOR #LINUXBA! Turn the cities into their city id and send the tq command to momoko bot.
  • zhuyin <中文> ==> 查询中文注音符号 查找中文的注音符號
  • chanlist ==> List joined channels.
  • tell <JoinedChan> <...> ==> Send messages to another channel(JOINED!).

Admin's Commands (Admin password is in the {BotFolder}/module/base.py}

  • sh <Cmd> ==> Run the commands on the host.
  • exit ==> See u next time!

Test

  • test ==> test
⚠️ **GitHub.com Fallback** ⚠️