1.6.0 • Published 3 years ago

guitar-keycart v1.6.0

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

🏬│Company

REMI OFFICIAL

versionBadge

📊│Installation

npm i guitar-view

⚙│Example Welcome and GoodBye

Welcome

const guitar = require("guitar-view"),
  Discord = require("discord.js");

const image = await new guitar.Welcome()
  .setUsername("GUITAR")
  .setDiscriminator("0001")
  .setGuildName("REMI OFFICIAL")
  .setAvatar("https://media.discordapp.net/avatars/777725429704294462/a_95635db0d83a70bc169f46d3fc4c68e7.gif")
  .setBackground("https://media.discordapp.net/attachments/877148065843261531/879282724588888074/background.jpg?width=1440&height=659")
  .toAttachment();

const Test = new Discord.Attachment(image.toBuffer(), "welcome-image.png");

message.channel.send(Test);

Goodbye

const guitar = require("guitar-view"),
  Discord = require("discord.js");

const image = await new guitar.Goodbye()
  .setUsername("GUITAR")
  .setDiscriminator("0001")
  .setGuildName("REMI OFFICIAL")
  .setAvatar("https://media.discordapp.net/avatars/777725429704294462/a_95635db0d83a70bc169f46d3fc4c68e7.gif")
  .setBackground("https://media.discordapp.net/attachments/877148065843261531/879282724588888074/background.jpg?width=1440&height=659")
  .toAttachment();

const Test = new Discord.Attachment(image.toBuffer(), "goodbye-image.png");

message.channel.send(Test);

Made by Guitar