initialize attachmentImages ahead of time, to be reused
This commit is contained in:
12
server/assets/attachments.ts
Normal file
12
server/assets/attachments.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import { AttachmentBuilder } from "discord.js"
|
||||
|
||||
const splashScreen = new AttachmentBuilder('./server/assets/images/set_splashscreen.png')
|
||||
const startScreen = new AttachmentBuilder('./server/assets/images/start_screen.png')
|
||||
const serverConnection = new AttachmentBuilder('./server/assets/images/server_verbindung.png')
|
||||
const accountChoice = new AttachmentBuilder('./server/assets/images/auswahl_anmeldung.png')
|
||||
const loginScreen = new AttachmentBuilder('./server/assets/images/login_screen.png')
|
||||
const overview = new AttachmentBuilder('./server/assets/images/jellyfin_ubersicht.png')
|
||||
const joingroup = new AttachmentBuilder('./server/assets/images/gruppe_beitreten.png')
|
||||
const resume = new AttachmentBuilder('./server/assets/images/wiedergabe_fortsetzen.png')
|
||||
const leavegroup = new AttachmentBuilder('./server/assets/images/gruppe_verlassen.png')
|
||||
export const attachedImages = [splashScreen, startScreen, serverConnection, accountChoice, loginScreen, overview, resume, leavegroup, joingroup]
|
Reference in New Issue
Block a user