]> us-delaporte.pagekite.me Git - matrix-shop-bot.git/commitdiff
Change prefix to shop
authorEdward Delaporte <edward@delaporte.us>
Sun, 14 Jun 2026 01:21:58 +0000 (20:21 -0500)
committerEdward Delaporte <edward@delaporte.us>
Sun, 14 Jun 2026 01:27:22 +0000 (20:27 -0500)
CHANGELOG.md
matrix_shop_bot/bot.py

index e936ac4a0bb3d32ba5e99bd7b876f549eb6f3792..50aa8c2286d0298908669f0708a7124cb2fca6e5 100644 (file)
@@ -1,6 +1,7 @@
 
 ## 1.2.0 - 2026 June 13
 
+- Change prefix to 'shop' instead of '.shop'
 - Easier to copy shopping list.
 - Reduced notifications.
 - Zones are no longer case sensitive.
index 8894ce61cc1d92c993cefc3d358d2199aafe4bd9..53d1ec642b22036717196b81758dac05a2fb03fb 100644 (file)
@@ -13,17 +13,17 @@ DATE_FORMAT = '%Y-%m-%d'
 def today():
     return dt.now().strftime(DATE_FORMAT)
 
-PREFIX = f'.{MODULE}'
+PREFIX = f'{MODULE}'
 logger = logging.getLogger(__name__)
 logging.basicConfig(filename=f'{MODULE}.log', encoding='utf-8', level=logging.DEBUG)
 logging.getLogger('nio').setLevel(logging.WARNING)
 
 async def do_shop(match):
     '''
-    Prefix: .shop
+    Prefix: shop
 
     Synax:
-      .shop COMMAND ARGS
+      shop COMMAND ARGS
 
     Commands:
       help - show this help
@@ -38,15 +38,15 @@ async def do_shop(match):
       stores - list all stores
 
     Examples:
-      .shop past costco
-      .shop at costco
+      shop past costco
+      shop at costco
 
-      .shop add sour cream
-      .shop add milk
+      shop add sour cream
+      shop add milk
     
-      .shop list
+      shop list
 
-      .shop buy 1 2 5 7
+      shop buy 1 2 5 7
 
     '''
     extended_help = '''
@@ -60,7 +60,7 @@ async def do_shop(match):
       zone ZONE ITEM - list ITEM under given ZONE 
 
       Example: 
-        .shop zone dairy sour cream
+        shop zone dairy sour cream
     '''
 
     if match.command('setup'):