mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 22:23:03 -04:00
more art
This commit is contained in:
parent
9627eb065c
commit
50c0c9a4e5
1 changed files with 72 additions and 0 deletions
72
commands/message/fun/art2.js
Normal file
72
commands/message/fun/art2.js
Normal file
|
@ -0,0 +1,72 @@
|
|||
//https://resources.jetbrains.com/cai/eidos_231/goland/999.png
|
||||
|
||||
const { createEmbed } = require('../../../labscore/utils/embed')
|
||||
const { editOrReply } = require('../../../labscore/utils/message')
|
||||
|
||||
const APPS = [
|
||||
"appcode",
|
||||
"aqua",
|
||||
"big-data-tools",
|
||||
"clion",
|
||||
"cwm",
|
||||
"datagrip",
|
||||
"datalore",
|
||||
"dataspell",
|
||||
"dotcover",
|
||||
"dotmemory",
|
||||
"dotpeek",
|
||||
"dottrace",
|
||||
"fleet",
|
||||
"gateway",
|
||||
"goland",
|
||||
"grazie",
|
||||
"hub",
|
||||
"intellij-idea",
|
||||
"intellij-idea-community",
|
||||
"intellij-idea-edu",
|
||||
"intellij-rust",
|
||||
"jetbrains",
|
||||
"jb-academy",
|
||||
"kotlin",
|
||||
"license-vault",
|
||||
"marketplace",
|
||||
"mono",
|
||||
"mps",
|
||||
"phpstorm",
|
||||
"pycharm",
|
||||
"pycharm-community",
|
||||
"pycharm-edu",
|
||||
"qa-tools",
|
||||
"qodana",
|
||||
"resharper",
|
||||
"resharper-cpp",
|
||||
"rider",
|
||||
"riderflow",
|
||||
"rubymine",
|
||||
"space",
|
||||
"teamcity",
|
||||
"toolbox",
|
||||
"upsource",
|
||||
"webstorm",
|
||||
"youtrack",
|
||||
]
|
||||
|
||||
module.exports = {
|
||||
name: 'art2',
|
||||
aliases: ['wallpaper2'],
|
||||
metadata: {
|
||||
description: 'Returns a random colorful wallpaper from JetBrains Eidos.',
|
||||
description_short: 'AI wallpapers',
|
||||
examples: ['art2'],
|
||||
category: 'fun',
|
||||
usage: `art2`
|
||||
},
|
||||
run: async (context) => {
|
||||
context.triggerTyping();
|
||||
return editOrReply(context, createEmbed("default", context, {
|
||||
image: {
|
||||
url: `https://resources.jetbrains.com/cai/eidos_231/${APPS[Math.floor(Math.random()*APPS.length)]}/${Math.floor(1 + Math.random()*999)}.png`
|
||||
}
|
||||
}))
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue