mirror of
				https://gitlab.com/questable/questable_bot
				synced 2025-11-04 06:10:05 +01:00 
			
		
		
		
	Add emojis.
This commit is contained in:
		
							
								
								
									
										6
									
								
								bot.py
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								bot.py
									
									
									
									
									
								
							@@ -295,7 +295,7 @@ def edit_quest(bot, update, player, qid, target, type):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    if target == "name":
 | 
					    if target == "name":
 | 
				
			||||||
        x.name = message
 | 
					        x.name = message
 | 
				
			||||||
        text = "<b>Updated Name</b>"
 | 
					        text = "<b>☑️ Updated Name</b>"
 | 
				
			||||||
    elif target == "imp":
 | 
					    elif target == "imp":
 | 
				
			||||||
        message = message.lower()
 | 
					        message = message.lower()
 | 
				
			||||||
        if message == "low" or message == "🔹 low":
 | 
					        if message == "low" or message == "🔹 low":
 | 
				
			||||||
@@ -307,7 +307,7 @@ def edit_quest(bot, update, player, qid, target, type):
 | 
				
			|||||||
        else:
 | 
					        else:
 | 
				
			||||||
            bot.send_message(chat_id=chat_id, text="Invalid Option")
 | 
					            bot.send_message(chat_id=chat_id, text="Invalid Option")
 | 
				
			||||||
            return
 | 
					            return
 | 
				
			||||||
        text = "<b>Updated Priority</b>"
 | 
					        text = "<b>☑️ Updated Priority</b>"
 | 
				
			||||||
    elif target == "diff":
 | 
					    elif target == "diff":
 | 
				
			||||||
        message = message.lower()
 | 
					        message = message.lower()
 | 
				
			||||||
        if message == "low" or message == "📙 low":
 | 
					        if message == "low" or message == "📙 low":
 | 
				
			||||||
@@ -319,7 +319,7 @@ def edit_quest(bot, update, player, qid, target, type):
 | 
				
			|||||||
        else:
 | 
					        else:
 | 
				
			||||||
            bot.send_message(chat_id=chat_id, text="Invalid Option")
 | 
					            bot.send_message(chat_id=chat_id, text="Invalid Option")
 | 
				
			||||||
            return
 | 
					            return
 | 
				
			||||||
        text = "<b>Updated Difficulty</b>"
 | 
					        text = "<b>☑️ Updated Difficulty</b>"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    x.update_db()
 | 
					    x.update_db()
 | 
				
			||||||
    if type == "quest":
 | 
					    if type == "quest":
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user