From a5b006e9adc3d459511277b9d90e396616c6306d Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 18 Feb 2023 16:28:18 +0200 Subject: [PATCH] make sure awards are ordered by price --- files/helpers/config/awards.py | 53 +++++++++++++++++----------------- 1 file changed, 27 insertions(+), 26 deletions(-) diff --git a/files/helpers/config/awards.py b/files/helpers/config/awards.py index 58b684530..11289c3b2 100644 --- a/files/helpers/config/awards.py +++ b/files/helpers/config/awards.py @@ -443,6 +443,33 @@ AWARDS = { "ghost": False, "enabled": True, }, + + #for non-rdrama sites + "owoify": { + "kind": "owoify", + "title": "OwOify", + "description": "OwOifies the recipient's comments for 6 hours.", + "icon": "fas fa-paw-simple", + "color": "text-purple", + "price": 500, + "deflectable": True, + "cosmetic": False, + "ghost": False, + "enabled": SITE_NAME != 'rDrama', + }, + "rainbow": { + "kind": "rainbow", + "title": "Rainbow", + "description": "Makes the recipient's comments and posts in rainbow text for 24 hours.", + "icon": "fas fa-cloud-rainbow", + "color": "text-pink", + "price": 500, + "deflectable": True, + "cosmetic": False, + "ghost": False, + "enabled": SITE_NAME != 'rDrama', + }, + "rehab": { "kind": "rehab", "title": "Rehab", @@ -731,32 +758,6 @@ AWARDS = { "ghost": False, "enabled": True, }, - - #for non-rdrama sites - "owoify": { - "kind": "owoify", - "title": "OwOify", - "description": "OwOifies the recipient's comments for 6 hours.", - "icon": "fas fa-paw-simple", - "color": "text-purple", - "price": 500, - "deflectable": True, - "cosmetic": False, - "ghost": False, - "enabled": SITE_NAME != 'rDrama', - }, - "rainbow": { - "kind": "rainbow", - "title": "Rainbow", - "description": "Makes the recipient's comments and posts in rainbow text for 24 hours.", - "icon": "fas fa-cloud-rainbow", - "color": "text-pink", - "price": 500, - "deflectable": True, - "cosmetic": False, - "ghost": False, - "enabled": SITE_NAME != 'rDrama', - }, } AWARDS_ENABLED = {}