mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-09 12:48:54 -05:00
* [V3 Warning] initial work on a warning system for v3 * [V3 Warning] rename some stuff and add a case type * [V3 Warnings] rename package from warning * [V3 Warnings] restructuring commands * [V3 Warnings] remove expiry stuff + other refactoring * [V3 Warnings] refactoring action logic * [V3 Warnings] rewrites to action logic * [V3 Warnings] add regen_messages.py
17 lines
223 B
Python
17 lines
223 B
Python
import subprocess
|
|
|
|
TO_TRANSLATE = [
|
|
'../warnings.py',
|
|
'../helpers.py'
|
|
]
|
|
|
|
|
|
def regen_messages():
|
|
subprocess.run(
|
|
['pygettext', '-n'] + TO_TRANSLATE
|
|
)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
regen_messages()
|