Try spotify after reporting success
This commit is contained in:
+4
-1
@@ -53,9 +53,12 @@ class Spotify(object):
|
||||
print(str(reaction.message.content)) # debugging
|
||||
with open("lijst.txt", "a") as f:
|
||||
f.write(str(reaction.message.content)+'\n')
|
||||
self.nummer_toevoegen(str(reaction.message.content))
|
||||
yield from reaction.message.delete() # verwijder poll
|
||||
yield from reaction.message.channel.send("Dit nummer heeft genoeg stemmen ontvangen en is op de lijst gezet: " + str(reaction.message.content))
|
||||
try:
|
||||
self.nummer_toevoegen(str(reaction.message.content))
|
||||
except:
|
||||
pass
|
||||
# Bij genoeg stemmen tegen
|
||||
elif reaction.emoji == self.thumbs_down and reaction.count >= self.veto_count:
|
||||
stemmen = reaction.message.reactions[0].count - 1 # tel het aantal voor-stemmen
|
||||
|
||||
Reference in New Issue
Block a user