# Pterodisbot - Basic Server Status Flow name: "Pterodisbot - Basic Server Status Flow" description: "Test /server_status -> select server -> click buttons" # Guild setup setup: guilds: - id: "100000000000000000" name: "Test Guild" owner_id: "444444444444444444" channels: - "100000000000000010" roles: - "200000000000000001" channels: - id: "100000000000000010" guild_id: "100000000000000000" name: "general" type: 0 # GUILD_TEXT position: 0 topic: "General discussion and bot commands" roles: - id: "200000000000000001" guild_id: "100000000000000000" name: "Game Server User" color: 3447003 hoist: true position: 1 permissions: "104324161" managed: false mentionable: true users: - id: "444444444444444444" username: "TestBot" discriminator: "0000" bot: true - id: "300000000000000001" username: "TestUser" discriminator: "1234" bot: false guild_roles: "100000000000000000": - "200000000000000001" bot: id: "444444444444444444" username: "TestBot" discriminator: "0000" token: "test_token_123" # command: "python main.py" # Example command to start the bot (commented out for testing) # Test steps steps: - action: "slash_command" command: "server_status" user_id: "300000000000000001" guild_id: "100000000000000000" channel_id: "100000000000000010" expect: - type: 4 # CHANNEL_MESSAGE_WITH_SOURCE data: components: true component_type: 1 # ACTION_ROW custom_id: "server_dropdown" options_count: 3 - action: "select_menu" custom_id: "server_dropdown" values: ["server_1"] user_id: "300000000000000001" guild_id: "100000000000000000" channel_id: "100000000000000010" message_id: "msg_123" expect: - type: 4 data: embeds: true components: true component_type: 1 # ACTION_ROW button_count: 4 - action: "button_click" custom_id: "start_button" user_id: "300000000000000001" guild_id: "100000000000000000" channel_id: "100000000000000010" message_id: "msg_123" expect: - type: 4 data: content_contains: "starting" - action: "button_click" custom_id: "show_address_button" user_id: "300000000000000001" guild_id: "100000000000000000" channel_id: "100000000000000010" message_id: "msg_123" expect: - type: 4 data: embeds: true embed_title_contains: "Connection Info" fields_contain: ["Address", "Port"]