I want to make a bot that sending 3 emoji but its different emoji , but when im running it , the bot took one emoji and sending a same 3 emoji, how do i make it take the different 3 emoji?
list = ['', '', '', '', '', '', '', '', '', '', '', '', '', '']
text = random.choice(list)
that the code
edit : can you tell me whats wrong in this one?
import discord
import requests
import random
import sys
token = sys.argv[1]
chan = sys.argv[2]
client = discord.Client()
list = requests.get('emoji.txt').text.split("\n")
@client.event
async def on_ready():
txtchan = client.get_channel(int(chan))
while not client.is_closed():
message = ''
for x in range(5):
message += random.choice(list)
await txtchan.send(message)
client.run(token, bot=False)