diff --git a/utils/msg_utils.py b/utils/msg_utils.py index f47201e..9da69e8 100644 --- a/utils/msg_utils.py +++ b/utils/msg_utils.py @@ -51,123 +51,96 @@ def user_from_embed(message): return int(message.embeds[0].author.icon_url.split("/")[4]) class Emojis: + + ajmeta = "<:ajmeta:1259232304740438066>" mcf = "<:mcfunction:1142345406106312754>" mcf_tick = "<:mcfunction_tick:1142345408459321425>" mcf_load = "<:mcfunction_load:1142345404403425341>" json = "<:json:1142345204402233434>" - tick_json = "<:tickjson:1188838117940133930>" - load_json = "<:loadjson:1188838120712577174>" nbt = "<:nbt:1142345418949279753>" + bbmodel = "<:bbmodel:1186764426376904714>" + lang = "<:lang_file:1188838193559257258>" + + folder = "<:folder:1142345186949734482>" folder_open = "<:folder_open:1142345194805669918>" + assets = "<:assets:1142346878030184518>" + assets_open = "<:assets_open:1142346941599064086>" data = "<:data:1142345181564260413>" data_open = "<:data_open:1142345183367802971>" - functions_open = "<:functions:1142345196642775090>" - loot_tables_open = "<:loot_tables:1142345293170491472>" - loot_table = "<:loot_table:1281966368626835546>" + namespace = "<:namespace:1188839155170545705>" + namespace_open = "<:namespace_open:1188839157829742723>" + tick_json = "<:tickjson:1188838117940133930>" + load_json = "<:loadjson:1188838120712577174>" + sounds_json = "<:sounds_json:1142347091759353866>" + pack_mcmeta = "<:pack_mcmeta:1142345410380304414>" + + + advancements_open = "<:advancements:1142345174580740096>" + banner_pattern_open = "<:banner_pattern:1246812883170492436>" + chat_type_open = "<:chat_type:1142345176921145435>" + damage_type_open = "<:damage_type:1142345178766659614>" dimension_open = "<:dimension:1142928197168668752>" - dimension = "<:dimension_file:1188838135300366336>" dimension_type_open = "<:dimension_type:1143112349214068796>" - dimension_type = "<:dimension_type_file:1188838133857534002>" + enchantment_open = "<:enchantment:1246812751938977915>" + functions_open = "<:functions:1142345196642775090>" + item_modifiers_open = "<:item_modifiers:1142345199700414564>" + instrument_open = "<:instrument:1319409530974638100>" + loot_tables_open = "<:loot_tables:1142345293170491472>" + painting_variant_open = "<:painting_variant:1246812947083432026>" + predicates_open = "<:predicates:1142345430139666524>" recipes_open = "<:recipes:1188841592715489361>" - recipe = "<:recipe:1188838131299004466>" - damage_type_open = "<:damage_type:1142345178766659614>" - damage_type = "<:damage_type_file:1188838136957112420>" structures_open = "<:structures:1142345436942827550>" - advancements_open = "<:advancements:1142345174580740096>" - tags_open = "<:tags:1142345438654124033>" + tags_open = "<:tags:1319409235171344454>" + trial_spawner_open = "<:trial_spawner:1319409245610971276>" + trim_material_open = "<:trim_material:1319409249264341013>" + trim_pattern_open = "<:trim_pattern:1319409547101605969>" worldgen_open = "<:worldgen:1142345441523019796>" - predicates_open = "<:predicates:1142345430139666524>" - predicate = "<:predicate:1188838122633576488>" - chat_type_open = "<:chat_type:1142345176921145435>" - chat_type = "<:chat_type_file:1188838139700195348>" - item_modifiers_open = "<:item_modifiers:1142345199700414564>" - item_modifier = "<:item_modifier:1188838125565382728>" - trim_pattern_open = "<:trim_pattern:1142893113594093660>" - trim_pattern = "<:trim_pattern_file:1188838127272464394>" - trim_material_open = "<:trim_material:1142893110616150116>" - trim_material = "<:trim_material_file:1188838129495449671>" - image = "<:painting:1142345422233423942>" - pack_mcmeta = "<:pack_mcmeta:1142345410380304414>" - md = "<:readme_md:1142345432387817534>" - txt = "<:txt:1142918900166688798>" - misc = "<:misc:1142345412938834022>" - license = "<:license:1246813468108001392>" - copyright = "<:copyright_txt:1142893165574107146>" - assets = "<:assets:1142346878030184518>" - assets_open = "<:assets_open:1142346941599064086>" - particles_open = "<:particles:1142346351879925862>" - particle = "<:particle:1188838146385911939>" - shaders_open = "<:shaders:1142346604028899429>" - textures_open = "<:textures:1142347361893494876>" + wolf_variant_open = "<:wolf_variant:1246817007161180232>" + + atlases_open = "<:atlases:1142347325436612619>" + blockstates_open = "<:blockstates:1142346756953231451>" font_open = "<:font:1142346540392927262>" models_open = "<:models:1142346673469800479>" - blockstates_open = "<:blockstates:1142346756953231451>" - blockstate = "<:blockstate:1188838141663125624>" lang_open = "<:lang:1142346828206047325>" - lang = "<:lang_file:1188838193559257258>" - texts_open = "<:texts:1142919111236665485>" + particles_open = "<:particles:1142346351879925862>" sounds_open = "<:sounds:1142347049568837742>" - atlases_open = "<:atlases:1142347325436612619>" - atlas = "<:atlas:1188838144351682620>" - sounds_json = "<:sounds_json:1142347091759353866>" - vsh = "<:vsh:1142347174223552543>" - fsh = "<:fsh:1142347278812725258>" - glsl = "<:glsl:1142347436740849745>" - ogg = "<:ogg:1142918898157629620>" + shaders_open = "<:shaders:1142346604028899429>" + textures_open = "<:textures:1142347361893494876>" + texts_open = "<:texts:1142919111236665485>" + + + advancements_json = "<:advancement:1319409155756527716>" + banner_pattern_json = "<:banner_pattern:1246812899192737862>" + chat_type_json = "<:chat_type_file:1188838139700195348>" + damage_type_json = "<:damage_type_file:1188838136957112420>" + dimension_json = "<:dimension_file:1188838135300366336>" + dimension_type_json = "<:dimension_type_file:1188838133857534002>" + enchantment_json = "<:enchantment:1246812661866561536>" + item_modifiers_json = "<:item_modifier:1188838125565382728>" + instrument_json = "<:instrument_file:1319409210257182831>" + loot_tables_json = "<:loot_table:1281966368626835546>" + painting_variant_json = "<:painting:1142345422233423942>" + predicates_json = "<:predicate:1188838122633576488>" + recipes_json = "<:recipe:1188838131299004466>" + tags_json = "<:tags_file:1319409237830406154>" + trial_spawner_json = "<:trial_spawner_file:1319409581360939150>" + trim_material_json = "<:trim_material_file:1319409251386527766>" + trim_pattern_json = "<:trim_pattern_file:1319409255337427105>" + wolf_variant_json = "<:wolf:1246816990669312011>" + worldgen_json = "<:worldgen_file:1319409262602223658>" + + atlas_json = "<:atlas:1188838144351682620>" + blockstates_json = "<:blockstate:1188838141663125624>" + particles_json = "<:particle:1188838146385911939>" + + beet = "<:beet:1143125070336774165>" bolt = "<:bolt:1142918894571491429>" dot_vscode = "<:dot_vscode:1186764449441402890>" - vsc = "<:vsc:1277217993021194240>" vscodeignore = "<:vscodeignore:1186765769149775903>" - python = "<:Python:542498804931362817>" - pycd = "<:python_compiled:1186764498091135087>" - pycache = "<:pychache:1186765566808170496>" - c = "<:c_:1186764428528599090>" - cpp = "<:cpp:1186764430076301373>" - cs = "<:cs:1186764433280745593>" - html = "<:html:1186764467976011918>" - css = "<:css:1186764434757128254>" - mojo = "<:mojo:1186764485592096778>" - js = "<:javascript:1186765428433879110>" - ts = "<:typescript:1186765725285761214>" - re = "<:reasonreact:1186764503036211290>" - java = "<:java:1186765389967925339>" - r = "<:r_:1186764500247003177>" - git = "<:git:1186764459872620634>" - gitignore = "<:gitignore:1186764463433601084>" - go = "<:golang:1186764465107116234>" - kotlin = "<:kotlin:1186764479199973466>" - exe = "<:executable:1186764814358417580>" - shell = "<:shell:1186765660118843553>" - android = "<:android:1186764415131992246>" - xml = "<:xml:1186764525786124369>" - yaml = "<:yaml:1186764528315277353>" - archive = "<:archive:1186764416503525406>" - jar = "<:jar:1186764471776051431>" - sublime = "<:sublime:1186764513198997614>" - sublime_package = "<:sublime_package:1186765697834041475>" - ruby = "<:ruby:1201952259190300742>" - rust = "<:rust:1186764506605559868>" - pdf = "<:pdf:1186765519970385980>" - namespace_open = "<:namespace_open:1188839157829742723>" - namespace = "<:namespace:1188839155170545705>" - jmc = "<:jmc:1186764477241245886>" - hjmc = "<:hjmc:1186765343012704367>" - log = "<:log:1186764481682997368>" - database = "<:database:1186764439349887218>" - php = "<:php:1186764490356834366>" - lua = "<:lua:1186765470121087047>" - doc = "<:doc:1186764446316646530>" - excel = "<:excel:1186764451756650566>" - ttf = "<:font:1186764454789124147>" - swift = "<:swift:1186764516810309807>" - autohotkey = "<:autohotkey:1186764424829210634>" - arduino = "<:arduino:1186764419208851517>" - dart = "<:dart:1186764437789626438>" datapacks_open = "<:datapacks:1186764442277527713>" assembly = "<:assembly:1186764422312632411>" - bbmodel = "<:bbmodel:1186764426376904714>" src = "<:src:1186764511538061422>" src_open = "<:src_open:1201954005928910888>" no_dp_icons = "<:no_dp_icons:1194373013064405054>" @@ -205,8 +178,19 @@ class Emojis: anchor = "<:anchor:1274090060320604200>" blocks = "<:blocks:1274090523086295122>" blocks2 = "<:blocks2:1274090539968499752>" - boolean = "<:boolean:1274090578703028298>" bossbar = "<:bossbar:1274090597812273162>" + antvote = "<:antvote:1042075029040545922>" + packformat = "<:packformat:1277533907620991026>" + downtvote = "<:downtvote:1042076436363751434>" + dice = "<:dice:1277384663836528682>" + missing = "<:missing:1278053472117194814>" + typing = "" + shader_triangle = "<:shader_triangle:1285663956496810048>" + bth123 = "<:bth123:1321085135541768324>" + superant_ = "<:ant:1321085150167040000>" + amandin = "<:amandin:1321085166168571987>" + + boolean = "<:boolean:1274090578703028298>" byte = "<:byte:1274090632230600704>" compound = "<:compound:1274090641462399007>" data_storage = "<:data_storage:1274090653189541919>" @@ -225,14 +209,62 @@ class Emojis: short = "<:short:1274090772051918858>" slot = "<:slot:1274090780624945244>" string = "<:string:1274090787205939314>" - ajmeta = "<:ajmeta:1259232304740438066>" - svelte = "<:svelte:1259210189282742355>" - github = "<:github:1276178127717924947>" macro = "<:macro:1276929717227880563>" - dice = "<:dice:1277384663836528682>" - packformat = "<:packformat:1277533907620991026>" - missing = "<:missing:1278053472117194814>" - typing = "" - shader_triangle = "<:shader_triangle:1285663956496810048>" - antvote = "<:antvote:1042075029040545922>" - downtvote = "<:downtvote:1042076436363751434>" \ No newline at end of file + + + github = "<:github:1276178127717924947>" + svelte = "<:svelte:1259210189282742355>" + image = "<:painting:1142345422233423942>" + md = "<:readme_md:1142345432387817534>" + txt = "<:txt:1142918900166688798>" + vsh = "<:vsh:1142347174223552543>" + fsh = "<:fsh:1142347278812725258>" + glsl = "<:glsl:1142347436740849745>" + ogg = "<:ogg:1142918898157629620>" + misc = "<:misc:1142345412938834022>" + license = "<:license:1246813468108001392>" + copyright = "<:copyright_txt:1142893165574107146>" + vsc = "<:vsc:1277217993021194240>" + python = "<:Python:542498804931362817>" + pycd = "<:python_compiled:1186764498091135087>" + pycache = "<:pychache:1186765566808170496>" + c = "<:c_:1186764428528599090>" + cpp = "<:cpp:1186764430076301373>" + cs = "<:cs:1186764433280745593>" + html = "<:html:1186764467976011918>" + css = "<:css:1186764434757128254>" + mojo = "<:mojo:1186764485592096778>" + js = "<:javascript:1186765428433879110>" + ts = "<:typescript:1186765725285761214>" + re = "<:reasonreact:1186764503036211290>" + java = "<:java:1186765389967925339>" + r = "<:r_:1186764500247003177>" + git = "<:git:1186764459872620634>" + gitignore = "<:gitignore:1186764463433601084>" + go = "<:golang:1186764465107116234>" + kotlin = "<:kotlin:1186764479199973466>" + exe = "<:executable:1186764814358417580>" + shell = "<:shell:1186765660118843553>" + android = "<:android:1186764415131992246>" + xml = "<:xml:1186764525786124369>" + yaml = "<:yaml:1186764528315277353>" + archive = "<:archive:1186764416503525406>" + jar = "<:jar:1186764471776051431>" + sublime = "<:sublime:1186764513198997614>" + sublime_package = "<:sublime_package:1186765697834041475>" + ruby = "<:ruby:1201952259190300742>" + rust = "<:rust:1186764506605559868>" + pdf = "<:pdf:1186765519970385980>" + jmc = "<:jmc:1186764477241245886>" + hjmc = "<:hjmc:1186765343012704367>" + log = "<:log:1186764481682997368>" + database = "<:database:1186764439349887218>" + php = "<:php:1186764490356834366>" + lua = "<:lua:1186765470121087047>" + doc = "<:doc:1186764446316646530>" + excel = "<:excel:1186764451756650566>" + ttf = "<:font:1186764454789124147>" + swift = "<:swift:1186764516810309807>" + autohotkey = "<:autohotkey:1186764424829210634>" + arduino = "<:arduino:1186764419208851517>" + dart = "<:dart:1186764437789626438>" diff --git a/utils/tree_gen.py b/utils/tree_gen.py index aafcb8e..8c70b04 100644 --- a/utils/tree_gen.py +++ b/utils/tree_gen.py @@ -1,3 +1,5 @@ +from utils.msg_utils import Emojis as e + def generate_tree(folders: str): folders = folders.split("\n") tree = "" @@ -48,112 +50,112 @@ def generate_tree(folders: str): return tree[:-1] icons = { - "folder": "<:folder:1142345186949734482>", - "open_folder": "<:folder_open:1142345194805669918>", - "namespace": "<:namespace:1188839155170545705>", - "open_namespace": "<:namespace_open:1188839157829742723>", - "misc": "<:misc:1142345412938834022>", + "folder": e.folder, + "open_folder": e.folder_open, + "namespace": e.namespace, + "open_namespace": e.namespace_open, + "misc": e.misc, "files": { - "mcfunction": "<:mcfunction:1142345406106312754>", - "mcf": "<:mcfunction:1142345406106312754>", - "tmcf": "<:mcfunction_tick:1142345408459321425>", - "lmcf": "<:mcfunction_load:1142345404403425341>", - "nbt": "<:nbt:1142345418949279753>", - "png": "<:painting:1142345422233423942>", - "mcmeta": "<:pack_mcmeta:1142345410380304414>", - "json": "<:json:1142345204402233434>", - "vsh": "<:vsh:1142347174223552543>", - "fsh": "<:fsh:1142347278812725258>", - "glsl": "<:glsl:1142347436740849745>", - "ogg": "<:ogg:1142918898157629620>", - "bbmodel": "<:bbmodel:1186764426376904714>", - "py": "<:python:1186764496270794893>", - "ttf": "<:font:1186764454789124147>", - "txt": "<:txt:1142918900166688798>", - "nbt": "<:nbt:1142345418949279753>" + "mcfunction": e.mcf, + "mcf": e.mcf, + "tmcf": e.mcf_tick, + "lmcf": e.mcf_load, + "nbt": e.nbt, + "png": e.image, + "mcmeta": e.pack_mcmeta, + "json": e.json, + "vsh": e.vsh, + "fsh": e.fsh, + "glsl": e.glsl, + "ogg": e.ogg, + "bbmodel": e.bbmodel, + "py": e.python, + "ttf": e.ttf, + "txt": e.txt, + "nbt": e.nbt }, "names": { "...": "", - "tick.json": "<:tickjson:1188838117940133930>", - "load.json": "<:loadjson:1188838120712577174>", - "sounds.json": "<:sounds_json:1142347091759353866>", - "LICENSE": "<:license:1246813468108001392>", - "LICENSE.md": "<:license:1246813468108001392>", - "LICENSE.txt": "<:license:1246813468108001392>", - "say.gex": "<:be_style_bth123:1096442989389291610>" + "tick.json": e.tick_json, + "load.json": e.load_json, + "sounds.json": e.sounds_json, + "LICENSE": e.license, + "LICENSE.md": e.license, + "LICENSE.txt": e.license, + "say.gex": e.bth123 }, "open_folders": { - "data": "<:data_open:1142345183367802971>", - "advancement": "<:advancements:1142345174580740096>", - "banner_pattern": "<:banner_pattern:1246812883170492436>", - "chat_type": "<:chat_type:1142345176921145435>", - "damage_type": "<:damage_type:1142345178766659614>", - "datapacks": "<:datapacks:1186764442277527713>", - "dimension": "<:dimension:1142928197168668752>", - "dimension_type": "<:dimension_type:1143112349214068796>", - "enchantment": "<:enchantment:1246812751938977915>", - "enchantment_provider": "<:enchantment:1246812751938977915>", - "function": "<:functions:1142345196642775090>", - "jukebox_song": "<:jukebox_song:1246812914221060178>", - "loot_table": "<:loot_tables:1142345293170491472>", - "item_modifier": "<:item_modifiers:1142345199700414564>", - "painting_variant": "<:painting_variant:1246812947083432026>", - "predicate": "<:predicates:1142345430139666524>", - "recipe": "<:recipes:1188841592715489361>", - "structure": "<:structures:1142345436942827550>", - "tags": "<:tags:1142345438654124033>", - "trim_material": "<:trim_material:1142893110616150116>", - "trim_pattern": "<:trim_pattern:1142893113594093660>", - "worldgen": "<:worldgen:1142345441523019796>", - "wolf_variant": "<:wolf_variant:1246817007161180232>", + "data": e.data_open, + "advancement": e.advancements_open, + "banner_pattern": e.banner_pattern_open, + "chat_type": e.chat_type_open, + "damage_type": e.damage_type_open, + "datapacks": e.datapacks_open, + "dimension": e.dimension_open, + "dimension_type": e.dimension_type_open, + "enchantment": e.enchantment_open, + "enchantment_provider": e.enchantment_open, + "function": e.functions_open, + "jukebox_song": e.sounds_open, + "loot_table": e.loot_tables_open, + "item_modifier": e.item_modifiers_open, + "painting_variant": e.painting_variant_open, + "predicate": e.predicates_open, + "recipe": e.recipes_open, + "structure": e.structures_open, + "tags": e.tags_open, + "trim_material": e.trim_material_open, + "trim_pattern": e.trim_pattern_open, + "worldgen": e.worldgen_open, + "wolf_variant": e.wolf_variant_open, - "advancements": "<:advancements:1142345174580740096>", - "functions": "<:functions:1142345196642775090>", - "loot_tables": "<:loot_tables:1142345293170491472>", - "predicates": "<:predicates:1142345430139666524>", - "item_modifiers": "<:item_modifiers:1142345199700414564>", - "recipes": "<:recipes:1188841592715489361>", - "structures": "<:structures:1142345436942827550>", + "advancements": e.advancements_open, + "functions": e.functions_open, + "loot_tables": e.loot_tables_open, + "predicates": e.predicates_open, + "item_modifiers": e.item_modifiers_open, + "recipes": e.recipes_open, + "structures": e.structures_open, - "assets": "<:assets_open:1142346941599064086>", - "atlases": "<:atlases:1142347325436612619>", - "blockstates": "<:blockstates:1142346756953231451>", - "font": "<:font:1142346540392927262>", - "lang": "<:lang:1142346828206047325>", - "models": "<:models:1142346673469800479>", - "particles": "<:particles:1142346351879925862>", - "textures": "<:textures:1142347361893494876>", - "shaders": "<:shaders:1142346604028899429>", - "sounds": "<:sounds:1142347049568837742>" + "assets": e.assets_open, + "atlases": e.atlases_open, + "blockstates": e.blockstates_open, + "font": e.font_open, + "lang": e.lang_open, + "models": e.models_open, + "particles": e.particles_open, + "textures": e.textures_open, + "shaders": e.shaders_open, + "sounds": e.sounds_open }, "jsons": { - "advancement": "<:advancement:1248200508318154813>", - "advancements": "<:advancement:1248200508318154813>", - "banner_pattern": "<:banner_pattern:1246812899192737862>", - "chat_type": "<:chat_type_file:1188838139700195348>", - "damage_type": "<:damage_type_file:1188838136957112420>", - "dimension": "<:dimension_file:1188838135300366336>", - "dimension_type": "<:dimension_type_file:1188838133857534002>", - "enchantment": "<:enchantment:1246812661866561536>", - "enchantment_provider": "<:enchantment:1246812661866561536>", - "jukebox_song": "<:jukebox_song:1246812929215430757>", - "item_modifier": "<:item_modifier:1188838125565382728>", - "item_modifiers": "<:item_modifier:1188838125565382728>", - "recipe": "<:recipe:1188838131299004466>", - "recipes": "<:recipe:1188838131299004466>", - "painting_variant": "<:painting:1142345422233423942>", - "predicate": "<:predicate:1188838122633576488>", - "predicates": "<:predicate:1188838122633576488>", - "trim_pattern": "<:trim_pattern_file:1188838127272464394>", - "trim_material": "<:trim_material_file:1188838129495449671>", - "wolf_variant": "<:wolf:1246816990669312011>", - "lang": "<:lang_file:1188838193559257258>", - "models": "<:bbmodel:1186764426376904714>", - "atlases": "<:atlas:1188838144351682620>", - "blockstates": "<:blockstate:1188838141663125624>", - "particles": "<:particle:1188838146385911939>", - "loot_table": "<:loot_table:1281966368626835546>", - "loot_tables": "<:loot_table:1281966368626835546>" + "advancement": e.advancements_json, + "advancements": e.advancements_json, + "banner_pattern": e.banner_pattern_json, + "chat_type": e.chat_type_json, + "damage_type": e.damage_type_json, + "dimension": e.dimension_json, + "dimension_type": e.dimension_type_json, + "enchantment": e.enchantment_json, + "enchantment_provider": e.enchantment_json, + "jukebox_song": e.ogg, + "item_modifier": e.item_modifiers_json, + "item_modifiers": e.item_modifiers_json, + "recipe": e.recipes_json, + "recipes": e.recipes_json, + "painting_variant": e.painting_variant_json, + "predicate": e.predicates_json, + "predicates": e.predicates_json, + "trim_pattern": e.trim_pattern_json, + "trim_material": e.trim_material_json, + "wolf_variant": e.wolf_variant_json, + "lang": e.lang, + "models": e.bbmodel, + "atlases": e.atlases_open, + "blockstates": e.blockstates_json, + "particles": e.particles_json, + "loot_table": e.loot_tables_json, + "loot_tables": e.loot_tables_json } } registries = ["advancement", "banner_pattern", "chat_type", "damage_type", "dimension", "dimension_type",