logogen

3.2.0 • Public • Published

npm install size

NPM

logogen

Note, This costs me money, so enjoy :)

Installation

npm i logogen

Below are some examples on how to use logogen!

Examples:

const Discord = require('discord.js')
const client = new Discord.Client()
const { Logo } = require('logogen')
const logo = new Logo()
//some basic setup for a discord bot and logogen
 
const prefix = '!'
//prefix
 
client.on('ready', () => {
    console.log('Ready to generate logos!')
})
//Ready event
 
client.on('message', async message => {
        if(!message.content.startsWith(prefix)) return;
     let args = message.content.slice(prefix.length).trim().split(/ +/g);
        let cmd;
        cmd = args.shift().toLowerCase();
 
        //setup commands and stuff like that
 
    if (cmd === 'arcade') {
        let text = args.join(' ')
        let image = await logo.arcade(text)
        message.channel.send(image)
    }
    //arcade cmd :)
})
 
client.login('token')
//login

DOCUMENTATION

WARNING! You must do this at the top of your code:

const { Logo } = require('logogen')
const logo = new Logo()

anaglyphopera(text): Gives you an anaglyphopera logo!

//you need to define 'text' by yourself.
let image = await logo.anaglyphopera(text)
message.channel.send(image)

angrycat(text): Gives you an angrycat logo!

//you need to define 'text' by yourself.
let image = await logo.angrycat(text)
message.channel.send(image)

angrywolf(text): Gives you an angrywolf logo!

//you need to define 'text' by yourself.
let image = await logo.angrywolf(text)
message.channel.send(image)

arcade(text): Gives you an arcade logo!

//you need to define 'text' by yourself.
let image = await logo.arcade(text)
message.channel.send(image)

beautybright(text): Gives you a beautybright logo!

//you need to define 'text' by yourself.
let image = await logo.beautybright(text)
message.channel.send(image)

berserkerbear(text): Gives you a berserkerbear logo!

//you need to define 'text' by yourself.
let image = await logo.berserkerbear(text)
message.channel.send(image)

blackbear(text): Gives you a blackbear logo!

//you need to define 'text' by yourself.
let image = await logo.blackbear(text)
message.channel.send(image)

bluebear(text): Gives you a bluebear logo!

//you need to define 'text' by yourself.
let image = await logo.bluebear(text)
message.channel.send(image)

bluecat(text): Gives you a bluecat logo!

//you need to define 'text' by yourself.
let image = await logo.bluecat(text)
message.channel.send(image)

bluegamefire(text): Gives you a bluegamefire logo!

//you need to define 'text' by yourself.
let image = await logo.bluegamefire(text)
message.channel.send(image)

bluelion(text): Gives you a bluelion logo!

//you need to define 'text' by yourself.
let image = await logo.bluelion(text)
message.channel.send(image)

bluetiger(text): Gives you a bluetiger logo!

//you need to define 'text' by yourself.
let image = await logo.bluetiger(text)
message.channel.send(image)

cloudsearch(text): Gives you a cloudsearch logo!

//you need to define 'text' by yourself.
let image = await logo.cloudsearch(text)
message.channel.send(image)

crowngame(text): Gives you a crowngame logo!

//you need to define 'text' by yourself.
let image = await logo.crowngame(text)
message.channel.send(image)

dancelogo(text): Gives you a dancelogo logo!

//you need to define 'text' by yourself.
let image = await logo.dancelogo(text)
message.channel.send(image)

disco(text): Gives you a disco logo!

//you need to define 'text' by yourself.
let image = await logo.disco(text)
message.channel.send(image)

firehawkgaming(text): Gives you a firehawkgaming logo!

//you need to define 'text' by yourself.
let image = await logo.firehawkgaming(text)
message.channel.send(image)

firelion(text): Gives you a firelion logo!

//you need to define 'text' by yourself.
let image = await logo.firelion(text)
message.channel.send(image)

flame(text): Gives you a flame logo!

//you need to define 'text' by yourself.
let image = await logo.flame(text)
message.channel.send(image)

funmark(text): Gives you a funmark logo!

//you need to define 'text' by yourself.
let image = await logo.funmark(text)
message.channel.send(image)

Readme

Keywords

none

Package Sidebar

Install

npm i logogen

Weekly Downloads

4

Version

3.2.0

License

ISC

Unpacked Size

11.6 kB

Total Files

4

Last publish

Collaborators

  • st0rmeclipse