Skip to content
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.

Commit

Permalink
v1.0.4-Beta
Browse files Browse the repository at this point in the history
  • Loading branch information
222ryan authored May 6, 2022
1 parent b0336b1 commit 5eb72f0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Commands/play.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,17 +102,16 @@ async def gtf(self, ctx):
await KumosLab.set.gameMessage(guild=ctx.guild, user=ctx.author, id=message.id)
correct_countries = []
countries = []
random_country = await KumosLab.data.alldata()
for i in random_country:
countries.append(i[0])
while round != 10:
message = await KumosLab.get.gameMessage(guild=ctx.guild, user=ctx.author)
message = await ctx.fetch_message(message)
random_country = await KumosLab.data.alldata()
for i in random_country:
countries.append(i[0])
random_country = random.choice(countries)
countries.remove(random_country)
# get a random image from the images folder
image = await KumosLab.data.flagdata(country=random_country)

countries = countries
answer_1 = random.choice(countries)
countries.remove(answer_1)
answer_2 = random.choice(countries)
Expand Down

0 comments on commit 5eb72f0

Please sign in to comment.