Skip to content

Commit

Permalink
update paste domain
Browse files Browse the repository at this point in the history
  • Loading branch information
lucko committed Jan 8, 2022
1 parent db403c9 commit dc2ce8b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/autoupload.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const axios = require('axios');

const contentTypes = ['application/json', 'text/plain', 'text/yaml'];
const bytebin = 'https://bytebin.lucko.me';
const paste = 'https://paste.lucko.me';
const paste = 'https://pastes.dev';

module.exports = client => {
client.on('message', async message => {
Expand Down
8 changes: 6 additions & 2 deletions modules/checks/checks.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ module.exports = {
getLink: 'https://bytebin.lucko.me/{code}',
},
{
regex: /https?:\/\/paste\.lucko\.me\/(\w+)(?:\.\w+)?/g,
getLink: 'https://paste.lucko.me/raw/{code}',
regex: /https?:\/\/paste\.lucko\.me\/(\w+)/g,
getLink: 'https://bytebin.lucko.me/{code}',
},
{
regex: /https?:\/\/pastes\.dev\/(\w+)/g,
getLink: 'https://bytebin.lucko.me/{code}',
},
{
regex: /https?:\/\/pastebin\.com\/(\w+)(?:\.\w+)?/g,
Expand Down
4 changes: 2 additions & 2 deletions modules/triggers/triggers/embeds/list.json
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@
"fields": [
{
"key": "For Console Errors:",
"value": "https://paste.lucko.me/"
"value": "https://pastes.dev/"
}
]
},
Expand Down Expand Up @@ -503,7 +503,7 @@
"paste", "pastebin"
],
"title": "Please use pastebin!",
"description": "Seeing a paste of the problem makes everything so much easier! Use https://paste.lucko.me/ for easy pasting!",
"description": "Seeing a paste of the problem makes everything so much easier! Use https://pastes.dev/ for easy pasting!",
"fields": [
{
"key": "For console errors:",
Expand Down

0 comments on commit dc2ce8b

Please sign in to comment.