From 2bcdea984752e9b5b17435cb8aab87fb0fcc8e98 Mon Sep 17 00:00:00 2001
From: Bruce Cowan <bruce@bcowan.eu>
Date: Wed, 7 Sep 2016 23:26:47 +0100
Subject: [PATCH] Document all commands

---
 datetime.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/datetime.py b/datetime.py
index c03f8cc..f41aecd 100644
--- a/datetime.py
+++ b/datetime.py
@@ -13,14 +13,17 @@ class Datetime(BotPlugin):
 
     @botcmd
     def date(self, message, args):
+        """Displays the current date in the current locale"""
         return "The date is " + self._get_date_time('%x')
 
     @botcmd
     def time(self, message, args):
+        """Displays the current time in the current locale"""
         return "The time is " + self._get_date_time('%X')
 
     @botcmd
     def strftime(self, message, args):
+        """Formatted date and/or time using strftime"""
         if not args:
             return "**Usage**: !datetime strftime <format>"
         return "The date and time is " + self._get_date_time(args)
-- 
GitLab