Added Audius
This commit is contained in:
parent
0cb28e7317
commit
9e7ef02d4a
1 changed files with 5 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
const ShortLinkReg = /(?:\s|^)(gh|gl|gd|owo|sg|ttv|teknik|bb|yt|bc|bcu|sc|aur|bot|sw|tw|npm|xkcd)\/([a-zA-Z0-9-_.#/!]*)/g;
|
const ShortLinkReg = /(?:\s|^)(gh|gl|gd|owo|aud|sg|ttv|teknik|bb|yt|bc|bcu|sc|bot|sw|tw|npm|xkcd)\/([a-zA-Z0-9-_.#/!]*)/g;
|
||||||
const ShortLinks = {
|
const ShortLinks = {
|
||||||
gh: 'https://github.com/$link$',
|
gh: 'https://github.com/$link$',
|
||||||
gl: 'https://gitlab.com/$link$',
|
gl: 'https://gitlab.com/$link$',
|
||||||
|
@ -14,7 +14,8 @@ const ShortLinks = {
|
||||||
bc: 'https://$link$.bandcamp.com/',
|
bc: 'https://$link$.bandcamp.com/',
|
||||||
bcu: 'https://bandcamp.com/$link$',
|
bcu: 'https://bandcamp.com/$link$',
|
||||||
sc: 'https://soundcloud.com/$link$',
|
sc: 'https://soundcloud.com/$link$',
|
||||||
aur: 'https://aur.archlinux.org/packages/$link$',
|
aud: 'https://audius.co/$link$',
|
||||||
|
// aur: 'https://aur.archlinux.org/packages/$link$',
|
||||||
sw: 'https://steamcommunity.com/sharedfiles/filedetails/?id=$link$',
|
sw: 'https://steamcommunity.com/sharedfiles/filedetails/?id=$link$',
|
||||||
bot: '<https://discordapp.com/oauth2/authorize?client_id=$link$&scope=bot>',
|
bot: '<https://discordapp.com/oauth2/authorize?client_id=$link$&scope=bot>',
|
||||||
xkcd: 'https://xkcd.com/$link$'
|
xkcd: 'https://xkcd.com/$link$'
|
||||||
|
@ -29,12 +30,13 @@ const ShortLinkDirs = {
|
||||||
ttv: 'TwitchTv',
|
ttv: 'TwitchTv',
|
||||||
owo: 'owo_codes',
|
owo: 'owo_codes',
|
||||||
sg: 'Supernets_Git',
|
sg: 'Supernets_Git',
|
||||||
|
aud: 'Audius',
|
||||||
teknik: 'Teknik_Git',
|
teknik: 'Teknik_Git',
|
||||||
bb: 'BitBucket',
|
bb: 'BitBucket',
|
||||||
bc: 'Bandcamp_Band',
|
bc: 'Bandcamp_Band',
|
||||||
bcu: 'Bandcamp_User',
|
bcu: 'Bandcamp_User',
|
||||||
sc: 'Soundcloud',
|
sc: 'Soundcloud',
|
||||||
aur: 'Arch_Packages',
|
// aur: 'Arch_Packages',
|
||||||
sw: 'Steam_Workshop',
|
sw: 'Steam_Workshop',
|
||||||
bot: 'Discord_Bot_Invite',
|
bot: 'Discord_Bot_Invite',
|
||||||
xkcd: 'xkcd'
|
xkcd: 'xkcd'
|
||||||
|
|
Loading…
Reference in a new issue