1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-24 03:54:20 +00:00

Display the correct syntax for dndnew

This commit is contained in:
Steffo 2019-10-25 12:19:19 +02:00
parent 1a86cec0d5
commit 633dd37383

View file

@ -39,7 +39,7 @@ class DndnewCommand(Command):
column_names = [column.name for column in columns if (not column.primary_key and column_names = [column.name for column in columns if (not column.primary_key and
not column.foreign_keys and not column.foreign_keys and
column.name != "name")] column.name != "name")]
message = " Character Sheet syntax:\n[p]\nName\n" message = " How to create a new character:\n[p]/dndnew YOUR_CHARACTER_NAME\n"
for column_name in column_names: for column_name in column_names:
message += f"{column_name} _\n" message += f"{column_name} _\n"
message += "[/p]" message += "[/p]"