소스 검색

Make !date an alias for !time

tags/v0.2
Kunal Mehta 10 년 전
부모
커밋
a19a88bd7c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      earwigbot/commands/time_command.py

+ 1
- 1
earwigbot/commands/time_command.py 파일 보기

@@ -33,7 +33,7 @@ class Time(Command):
"""Report the current time in any timezone (UTC default), UNIX epoch time,
or beat time."""
name = "time"
commands = ["time", "beats", "swatch", "epoch"]
commands = ["time", "beats", "swatch", "epoch", "date"]

def process(self, data):
if data.command in ["beats", "swatch"]:


불러오는 중...
취소
저장