Skip to content

Instantly share code, notes, and snippets.

View edqx's full-sized avatar
:octocat:
busy being cool

Edward Smale edqx

:octocat:
busy being cool
View GitHub Profile
function EnlargeImage(message) {
const scale = parseInt((message.arguments.scale || "x4").match(/[1-8]/g)[0])
var url;
if (message.attachments.first()) {
if (message.attachments.first().url) {
url = message.attachments.first().url;
}
} else {