Reformatted and cleaned up everything
This commit is contained in:
@@ -18,9 +18,7 @@ async def command_language(app: PyroClient, message: Message):
|
||||
buttons: List[InlineButton] = []
|
||||
|
||||
for locale, data in app.in_every_locale("metadata").items():
|
||||
buttons.append(
|
||||
InlineButton(f"{data['flag']} {data['name']}", f"language:{locale}")
|
||||
)
|
||||
buttons.append(InlineButton(f"{data['flag']} {data['name']}", f"language:{locale}"))
|
||||
|
||||
keyboard.add(*buttons)
|
||||
|
||||
|
Reference in New Issue
Block a user