genshinachievement
v0.0.6
Published
Genshin Impact Achievement Maker
Downloads
23
Maintainers
Readme
Genshin-Achievement-Maker
Use genshin achievement Maker to get a custom achievement based on your input, takes a string of 50 characters max
const {genshinAchievement} = require("genshinachievement")
const stream = await genshinAchievement(text))
Returns a Stream in Promise, will be rejected if text is empty/undefined or has more than 50 characters
DiscordJS
const {genshinAchievement} = require("genshinachievement")
const imagestream = await genshinAchievement(args.join(" ")).catch(e=> {
message.channel.send(e)
return;
})
if (!imagestream) return;
const newStream = new MessageAttachment(imagestream)
message.reply(newStream)
return