You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement the /view command functionality for the BugTheDuck bot to allow users to view their own profile or the profile of another member. This command will retrieve the profile data from the database and display it in a clean, formatted embed.
Acceptance Criteria:
Command Functionality: The /view command shows the user's own profile when executed without a username (e.g., /view).
View Another Member's Profile: The /view @username command shows the profile of another member when executed with a username.
Data Retrieval: Profile data, including skills, portfolio links, social media accounts, and previous work, is retrieved from the MySQL database and displayed in the profile embed.
Embed Styling: The profile is displayed in a visually appealing embed with clearly formatted sections (e.g., Interests, Portfolio, Social Media Links).
Privacy: Members may prefer not to show their Profile publicly. There should be a message in the resulting embed indicating that the users profile is private.
Error Handling: If the profile data cannot be retrieved, the bot will display a user-friendly error message (e.g., "Profile not found" or "Error fetching profile data").
Risks:
Data Retrieval Failure: If the bot cannot access the database, profile data may not be displayed.
Embed Display Issues: The profile information may not be formatted correctly in the embed.
Privacy Concerns: Members may prefer not to show their Profile publicly.
Description:
Implement the /view command functionality for the BugTheDuck bot to allow users to view their own profile or the profile of another member. This command will retrieve the profile data from the database and display it in a clean, formatted embed.
Acceptance Criteria:
Risks: