Skip to content

Commit

Permalink
Revert "feat: 小程序、crs热区渲染功能开发"
Browse files Browse the repository at this point in the history
This reverts commit 82a53c6.
  • Loading branch information
MuYiBo committed Jul 29, 2023
1 parent 82a53c6 commit 7786c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/discord.ws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ export class WsMessage {
private done(message: any) {
const { content, id, attachments, components, flags } = message;
const { url, proxy_url, width, height } = attachments[0];
let uri = url;
let uri = attachments[0].url;
if (this.config.ImageProxy !== "") {
uri = uri.replace("https://cdn.discordapp.com/", this.config.ImageProxy);
}
Expand Down

0 comments on commit 7786c3e

Please sign in to comment.