fulvia/modules/emojis.py
2020-01-08 09:35:32 -05:00

20 lines
331 B
Python
Executable File

#!/usr/bin/env python3
"""
EMOJI
"""
import random
import emoji
from module import commands
@commands("emoji")
def rand_emoji(bot, trigger):
"""
Posts a random number of random emojis.
"""
msg = []
for _ in range(random.randint(1, 100)):
msg.append(random.choice(list(emoji.UNICODE_EMOJI.keys())))
bot.msg("".join(msg))