[AB-97] adding react command

we are now actively loading messages in case its a parameter, because the provided message is only partially available
This commit is contained in:
Sheldan
2021-04-13 23:47:22 +02:00
parent 23379e4498
commit 537fd85be8
36 changed files with 820 additions and 22 deletions

View File

@@ -0,0 +1,10 @@
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
xmlns:pro="http://www.liquibase.org/xml/ns/pro"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog ../dbchangelog-3.8.xsd
http://www.liquibase.org/xml/ns/dbchangelog-ext ../dbchangelog-3.8.xsd
http://www.liquibase.org/xml/ns/pro ../dbchangelog-3.8.xsd" >
<include file="entertainment-seedData/data.xml" relativeToChangelogFile="true"/>
</databaseChangeLog>

View File

@@ -0,0 +1,20 @@
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
xmlns:pro="http://www.liquibase.org/xml/ns/pro"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog ../../dbchangelog-3.8.xsd
http://www.liquibase.org/xml/ns/dbchangelog-ext ../../dbchangelog-3.8.xsd
http://www.liquibase.org/xml/ns/pro ../../dbchangelog-3.8.xsd" >
<property name="entertainmentModule" value="(SELECT id FROM module WHERE name = 'entertainment')"/>
<property name="entertainmentFeature" value="(SELECT id FROM feature WHERE key = 'entertainment')"/>
<changeSet author="Sheldan" id="react-command">
<insert tableName="command">
<column name="name" value="react"/>
<column name="module_id" valueComputed="${entertainmentModule}"/>
<column name="feature_id" valueComputed="${entertainmentFeature}"/>
</insert>
</changeSet>
</databaseChangeLog>

View File

@@ -0,0 +1,10 @@
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
xmlns:pro="http://www.liquibase.org/xml/ns/pro"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog ../../dbchangelog-3.8.xsd
http://www.liquibase.org/xml/ns/dbchangelog-ext ../../dbchangelog-3.8.xsd
http://www.liquibase.org/xml/ns/pro ../../dbchangelog-3.8.xsd" >
<include file="command.xml" relativeToChangelogFile="true"/>
</databaseChangeLog>

View File

@@ -8,4 +8,5 @@
http://www.liquibase.org/xml/ns/pro dbchangelog-3.8.xsd" >
<include file="1.0-entertainment/collection.xml" relativeToChangelogFile="true"/>
<include file="1.2.8-entertainment/collection.xml" relativeToChangelogFile="true"/>
<include file="1.2.9-entertainment/collection.xml" relativeToChangelogFile="true"/>
</databaseChangeLog>

View File

@@ -0,0 +1,280 @@
{
"source": "https://github.com/TrustyJAID/Trusty-cogs/blob/master/fun/constants.py with additions",
"single": {
"a": [
"🇦",
"🅰",
"🍙",
"🔼",
"4⃣",
"🇱🇨",
"🎄",
"🌲",
"🖇️",
"🔼"
],
"b": [
"🇧",
"🅱",
"8⃣"
],
"c": [
"🇨",
"🗜"
],
"d": [
"🇩",
"↩"
],
"e": [
"🇪",
"3⃣",
"📧",
"💶"
],
"f": [
"🇫",
"🎏",
"🚩",
"🏳️️",
"🏴",
"🏁"
],
"g": [
"🇬",
"🗜",
"6⃣",
"9⃣",
"⛽"
],
"h": [
"🇭",
"♓",
"🏩",
"⛩️",
"🪜"
],
"i": [
"🇮",
"",
"🚹",
"1⃣",
"📍"
],
"j": [
"🇯",
"🗾"
],
"k": [
"🇰",
"🎋"
],
"l": [
"🇱",
"1⃣",
"🇮",
"👢",
"💷"
],
"m": [
"🇲",
"Ⓜ",
"📉"
],
"n": [
"🇳",
"♑",
"🎵"
],
"o": [
"🇴",
"🅾",
"0⃣",
"⭕",
"🔘",
"⏺",
"⚪",
"⚫",
"🔵",
"🔴",
"💫",
"⚽",
"🏀",
"⚾",
"🥎",
"🎾",
"🏐",
"💿",
"📀",
"🧭",
"☯️"
],
"p": [
"🇵",
"🅿",
"🚏"
],
"q": [
"🇶",
"♌"
],
"r": [
"🇷"
],
"s": [
"🇸",
"💲",
"5⃣",
"⚡",
"💰",
"💵"
],
"t": [
"🇹",
"✝",
"",
"🎚",
"🌴",
"7⃣"
],
"u": [
"🇺",
"⛎",
"🐉"
],
"v": [
"🇻",
"♈",
"☑"
],
"w": [
"🇼",
"〰",
"📈"
],
"x": [
"🇽",
"❎",
"✖",
"❌",
"⚒",
"🏴‍☠",
"✂️️"
],
"y": [
"🇾",
"✌",
"💴"
],
"z": [
"🇿",
"2⃣"
],
"0": [
"0⃣",
"🅾",
"0⃣",
"⭕",
"🔘",
"⏺",
"⚪",
"⚫",
"🔵",
"🔴",
"💫",
"⚽",
"🏀",
"⚾",
"🥎",
"🎾",
"🏐",
"💿",
"📀",
"🧭",
"☯️"
],
"1": [
"1⃣",
"🇮"
],
"2": [
"2⃣",
"🇿"
],
"3": [
"3⃣"
],
"4": [
"4⃣"
],
"5": [
"5⃣",
"🇸",
"💲",
"⚡"
],
"6": [
"6⃣"
],
"7": [
"7⃣"
],
"8": [
"8⃣",
"🎱",
"🇧",
"🅱"
],
"9": [
"9⃣"
],
"?": [
"❓"
],
"!": [
"❗",
"❕",
"⚠",
"❣"
]
},
"combination": {
"abcd": "🔠",
"1234": "🔢",
"cool": "🆒",
"back": "🔙",
"777": "🎰",
"soon": "🔜",
"free": "🆓",
"end": "🔚",
"top": "🔝",
"abc": "🔤",
"atm": "🏧",
"new": "🆕",
"sos": "🆘",
"100": "💯",
"loo": "💯",
"zzz": "💤",
"...": "💬",
"ng": "🆖",
"id": "🆔",
"vs": "🆚",
"wc": "🚾",
"ab": "🆎",
"cl": "🆑",
"ok": "🆗",
"up": "🆙",
"10": "🔟",
"24": "🏪",
"11": "⏸",
"ll": "⏸",
"ii": "⏸",
"18": "🏪",
"tm": "™",
"on": "🔛",
"oo": "🈁",
"!?": "⁉",
"!!": "‼",
"17": "📅"
}
}