Skip to content

Commit

Permalink
Update error.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
backmeupplz authored Nov 21, 2018
1 parent d63164a commit 2737656
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/helpers/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export function checkIfErrorDismissable(error: Error) {
'bot was kicked',
'not in the chat',
'need to be inviter of a user',
'matching document found for id',
]
for (const message of dismissableMessages) {
if (error.message.indexOf(message) > -1) {
Expand Down

0 comments on commit 2737656

Please sign in to comment.