Slugs like beer.

Slugs like beer.

This is why it is perfect to use as the liquid element in a slug trap to attract them. Beer contains yeasty smells, which slugs love. If you face slug problems, it would be wise to collect slugs via slug traps and then dispose of them.

Source