Skip to content

Commit 1f5d19f

Browse files
author
Alexander Voronkov
committed
labhub.py: Change invite alias
Change invite alias from 'invite' to 'welcome'. Closes #166
1 parent 589c6e3 commit 1f5d19f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/labhub.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def TEAMS(self, new):
9696
self._teams = new
9797

9898
# Ignore LineLengthBear, PycodestyleBear
99-
@re_botcmd(pattern=r'^(?:(?:invite)|(?:inv))\s+(?:(?:@?([\w-]+)(?:\s*(?:to)\s+(\w+))?)|(me))$',
99+
@re_botcmd(pattern=r'^(?:(?:welcome)|(?:inv)|(?:invite))\s+(?:(?:@?([\w-]+)(?:\s*(?:to)\s+(\w+))?)|(me))$',
100100
re_cmd_name_help='invite [to team]')
101101
def invite_cmd(self, msg, match):
102102
"""

0 commit comments

Comments
 (0)