Skip to content

Some small improovements and addition of some providers#3

Merged
underscore11code merged 3 commits intounderscore11code:pastebinsfrom
ApertureDevelopment:pastebins
May 9, 2020
Merged

Some small improovements and addition of some providers#3
underscore11code merged 3 commits intounderscore11code:pastebinsfrom
ApertureDevelopment:pastebins

Conversation

@ApertureDevelopment
Copy link
Copy Markdown

I added two paste providers ( pastebin and github gists ) and changed a bit of code, the changes include:

  • Replacement of the foreach for a loop that is breakable ( to prevent the loop from running further when we already got the correct provider )
  • Changed error output to be more user friendly on a invalid link ( Suggestion: Possible consider removing the error message entirely )

- Changed forEach to every to prevent future loop runs after we got the correct paste provider
- Changed Error message to display "invalid paste" instead of "404 Not Found" ( possibly remove the error message entirely or move it into a logs channel )
- Added pastebin.com as provider
- Added GitHub gists as provider
The link for the MySQL exceeded max connections error was invalid
@underscore11code underscore11code merged commit 288518e into underscore11code:pastebins May 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants