fix !keyboard2

This commit is contained in:
Anthony Sottile 2020-05-05 12:27:14 -07:00
parent 4b897d504c
commit 793049411a
1 changed files with 7 additions and 5 deletions

12
bot.py
View File

@ -181,6 +181,13 @@ def pong(match: Match[str]) -> Response:
_TEXT_COMMANDS = ( _TEXT_COMMANDS = (
# this one has to be first so it does not get overridden by !keyboard
(
'!keyboard2',
'this is my second mechanical keyboard: '
'https://i.fluffy.cc/CDtRzWX1JZTbqzKswHrZsF7HPX2zfLL1.png',
),
# the rest of these are sorted by command
( (
'!discord', '!discord',
'We do have Discord, you are welcome to join: ' 'We do have Discord, you are welcome to join: '
@ -202,11 +209,6 @@ _TEXT_COMMANDS = (
'this is my streaming keyboard (contributed by PhillipWei): ' 'this is my streaming keyboard (contributed by PhillipWei): '
'https://www.wasdkeyboards.com/code-v3-87-key-mechanical-keyboard-zealio-67g.html', # noqa: E501 'https://www.wasdkeyboards.com/code-v3-87-key-mechanical-keyboard-zealio-67g.html', # noqa: E501
), ),
(
'!keyboard2',
'this is my second mechanical keyboard: '
'https://i.fluffy.cc/CDtRzWX1JZTbqzKswHrZsF7HPX2zfLL1.png',
),
('!levelup', 'https://i.imgur.com/Uoq5vGx.gif'), ('!levelup', 'https://i.imgur.com/Uoq5vGx.gif'),
('!lurk', 'thanks for lurking, {user}!'), ('!lurk', 'thanks for lurking, {user}!'),
('!ohai', 'ohai, {user}!'), ('!ohai', 'ohai, {user}!'),