20 lines
331 B
Python
Executable File
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))
|