Skip to content

Commit 7f2cf86

Browse files
authored
Change link shortener to use srbl.cc
1 parent 66c20e7 commit 7f2cf86

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Commands/ExecutionFunctions/LinkShortenCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public async Task Execute(SocketSlashCommand cmd, DiscordSocketClient client) {
1414
string content;
1515
try {
1616
HttpClient http = new ();
17-
HttpResponseMessage response = await http.PostAsync("https://link.serble.net", new FormUrlEncodedContent(new[] {
17+
HttpResponseMessage response = await http.PostAsync("https://srbl.cc", new FormUrlEncodedContent(new[] {
1818
new KeyValuePair<string, string>("location", link),
1919
new KeyValuePair<string, string>("name", name)
2020
}));
@@ -37,4 +37,4 @@ private static string RandomString(int length) {
3737
.Select(s => s[random.Next(s.Length)]).ToArray());
3838
}
3939

40-
}
40+
}

0 commit comments

Comments
 (0)