Skip to content

Commit

Permalink
tmp: remove tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-se committed Aug 18, 2021
1 parent ce7950a commit 14f730d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/shujinosuke.ts
Expand Up @@ -367,7 +367,6 @@ const getListen = (client: SlackClient, event: SlackEvent) => {
case 'app_mention':
return (command: string, callback: (client: SlackClient, event: AppMentionEvent) => void) => {
const commandRegExp = new RegExp(`<@\\w+>\\s+${command}($|\\s+)`);
console.log(commandRegExp);
if (event.text.match(commandRegExp)) {
callback(client, event as AppMentionEvent);
}
Expand Down

0 comments on commit 14f730d

Please sign in to comment.