Skip to content

Commit

Permalink
Avoid using "multiple" emojies in one emoji
Browse files Browse the repository at this point in the history
  • Loading branch information
Mobilpadde committed Jan 11, 2023
1 parent 0cb53ac commit bd27035
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 43 deletions.
4 changes: 2 additions & 2 deletions moths/emojies/bodyParts.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package emojies

import "github.com/enescakir/emoji"

var BODY_PARTS = Emojies{
var BODY_PARTS = ToEmojies([]string{
emoji.FlexedBiceps.String(),
emoji.MechanicalArm.String(),
emoji.MechanicalLeg.String(),
Expand All @@ -20,4 +20,4 @@ var BODY_PARTS = Emojies{
emoji.Eye.String(),
emoji.Tongue.String(),
emoji.Mouth.String(),
}
})
4 changes: 2 additions & 2 deletions moths/emojies/bugs.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package emojies
import "github.com/enescakir/emoji"

// The fly (`moths` mascot) is in there
var BUGS = Emojies{
var BUGS = ToEmojies([]string{
emoji.Snail.String(),
emoji.Butterfly.String(),
emoji.Bug.String(),
Expand All @@ -20,4 +20,4 @@ var BUGS = Emojies{
emoji.Fly.String(),
emoji.Worm.String(),
emoji.Microbe.String(),
}
})
10 changes: 6 additions & 4 deletions moths/emojies/cats.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package emojies

import "github.com/enescakir/emoji"

var CATS = Emojies{
var cats = []string{
emoji.GrinningCat.String(),
emoji.GrinningCatWithSmilingEyes.String(),
emoji.CatWithTearsOfJoy.String(),
Expand All @@ -14,7 +14,9 @@ var CATS = Emojies{
emoji.PoutingCat.String(),
}

var CATS_DOG = append(
CATS,
var CATS = ToEmojies(cats)

var CATS_DOG = ToEmojies(append(
cats,
emoji.DogFace.String(),
)
))
4 changes: 2 additions & 2 deletions moths/emojies/countryFlags.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package emojies

import "github.com/enescakir/emoji"

var COUNTRY_FLAGS = Emojies{
var COUNTRY_FLAGS = ToEmojies([]string{
emoji.FlagForAscensionIsland.String(),
emoji.FlagForAndorra.String(),
emoji.FlagForUnitedArabEmirates.String(),
Expand Down Expand Up @@ -261,4 +261,4 @@ var COUNTRY_FLAGS = Emojies{
emoji.FlagForSouthAfrica.String(),
emoji.FlagForZambia.String(),
emoji.FlagForZimbabwe.String(),
}
})
12 changes: 7 additions & 5 deletions moths/emojies/dogs.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@ package emojies

import "github.com/enescakir/emoji"

var DOGS = Emojies{
var dogs = []string{
emoji.DogFace.String(),
emoji.Dog.String(),
emoji.GuideDog.String(),
emoji.ServiceDog.String(),
// emoji.ServiceDog.String(), // Uses multiple "emojies" in one
emoji.Poodle.String(),
emoji.Wolf.String(),
emoji.HotDog.String(), // Wait, what?
}

var DOGS_CAT = append(
DOGS,
var DOGS = ToEmojies(dogs)

var DOGS_CAT = ToEmojies(append(
dogs,
emoji.KissingCat.String(),
)
))
4 changes: 2 additions & 2 deletions moths/emojies/faces.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package emojies

import "github.com/enescakir/emoji"

var FACES = Emojies{
var FACES = ToEmojies([]string{
emoji.PileOfPoo.String(),
emoji.ClownFace.String(),
emoji.Ogre.String(),
Expand All @@ -11,4 +11,4 @@ var FACES = Emojies{
emoji.Alien.String(),
emoji.AlienMonster.String(),
emoji.Robot.String(),
}
})
52 changes: 26 additions & 26 deletions moths/emojies/geatures.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package emojies

import "github.com/enescakir/emoji"

var GESTURES = Emojies{
var GESTURES = ToEmojies([]string{
emoji.PersonFrowning.String(),
emoji.PersonPouting.String(),
emoji.PersonGesturingNo.String(),
Expand All @@ -13,30 +13,30 @@ var GESTURES = Emojies{
emoji.PersonBowing.String(),
emoji.PersonFacepalming.String(),
emoji.PersonShrugging.String(),
}
})

var GESTURES_MAN = Emojies{
emoji.ManFrowning.String(),
emoji.ManPouting.String(),
emoji.ManGesturingNo.String(),
emoji.ManGesturingOk.String(),
emoji.ManTippingHand.String(),
emoji.ManRaisingHand.String(),
emoji.DeafMan.String(),
emoji.ManBowing.String(),
emoji.ManFacepalming.String(),
emoji.ManShrugging.String(),
}
// var GESTURES_MAN = ToEmojies([]string{
// emoji.ManFrowning.String(),
// emoji.ManPouting.String(),
// emoji.ManGesturingNo.String(),
// emoji.ManGesturingOk.String(),
// emoji.ManTippingHand.String(),
// emoji.ManRaisingHand.String(),
// emoji.DeafMan.String(),
// emoji.ManBowing.String(),
// emoji.ManFacepalming.String(),
// emoji.ManShrugging.String(),
// })

var GESTURES_WOMAN = Emojies{
emoji.WomanFrowning.String(),
emoji.WomanPouting.String(),
emoji.WomanGesturingNo.String(),
emoji.WomanGesturingOk.String(),
emoji.WomanTippingHand.String(),
emoji.WomanRaisingHand.String(),
emoji.DeafWoman.String(),
emoji.WomanBowing.String(),
emoji.WomanFacepalming.String(),
emoji.WomanShrugging.String(),
}
// var GESTURES_WOMAN = ToEmojies([]string{
// emoji.WomanFrowning.String(),
// emoji.WomanPouting.String(),
// emoji.WomanGesturingNo.String(),
// emoji.WomanGesturingOk.String(),
// emoji.WomanTippingHand.String(),
// emoji.WomanRaisingHand.String(),
// emoji.DeafWoman.String(),
// emoji.WomanBowing.String(),
// emoji.WomanFacepalming.String(),
// emoji.WomanShrugging.String(),
// })

0 comments on commit bd27035

Please sign in to comment.