As a player, I want to link my Discord ID to my city, so that my identity is associated with my city in the game. This helps in identifying and managing members within the Discord server and the game.
Acceptance Criteria
The command should be !saveDiscordId <discord_id> <city_id>.
The bot should store the mapping of the Discord ID to the city ID in the database.
The bot should confirm to the user that their Discord ID has been successfully linked to the city.
If the Discord ID is already linked to a different city, the bot should notify the user and provide an option to update the link.
Notes
Ensure both the Discord ID and city ID are valid and exist in the database.
Implement checks to prevent duplicate links and ensure data integrity.
Consider adding an option for users to view their current links.
Description
As a player, I want to link my Discord ID to my city, so that my identity is associated with my city in the game. This helps in identifying and managing members within the Discord server and the game.
Acceptance Criteria
!saveDiscordId <discord_id> <city_id>
.Notes