@@ -41,31 +41,31 @@ public async Task BirthdaySlashCommand(
4141            var  birthday  =  await  _birthdayBusinessLayer . GetBirthdayForPerson ( user . Id . ToString ( ) ) ; 
4242            if  ( birthday  ==  null ) 
4343            { 
44-                 await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbed ( "Error Finding Birthday" , 
44+                 await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbedWithUserFooter ( "Error Finding Birthday" , 
4545                    "Could not find birthday for person." ,  Context . User ) ) ; 
4646                return ; 
4747            } 
4848
4949            var  message  =  BuildBirthdayMessage ( birthday . Value ) ; 
50-             await  FollowupAsync ( embed :  _discordFormatter . BuildRegularEmbed ( $ "{ user . GetNameToDisplay ( ) } 's Birthday", 
50+             await  FollowupAsync ( embed :  _discordFormatter . BuildRegularEmbedWithUserFooter ( $ "{ user . GetNameToDisplay ( ) } 's Birthday", 
5151                message ,  Context . User ) ) ; 
5252        } 
5353        catch  ( PersonNotFoundException  ex ) 
5454        { 
5555            _logger . LogError ( ex ,  "PersonNotFound in BirthdaySlashCommand" ) ; 
56-             await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbed ( "Person Not Found" , 
56+             await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbedWithUserFooter ( "Person Not Found" , 
5757                "That person wasn't found!" ,  Context . User ) ) ; 
5858        } 
5959        catch  ( NoBirthdayException  ex ) 
6060        { 
6161            _logger . LogError ( ex ,  "NoBirthday in BirthdaySlashCommand" ) ; 
62-             await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbed ( "Birthday Not Found" , 
62+             await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbedWithUserFooter ( "Birthday Not Found" , 
6363                "No birthday is configured for this person." ,  Context . User ) ) ; 
6464        } 
6565        catch  ( Exception  ex ) 
6666        { 
6767            _logger . LogError ( ex ,  "Unhandled error in BirthdaySlashCommand" ) ; 
68-             await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbed ( "Something Went Wrong" , 
68+             await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbedWithUserFooter ( "Something Went Wrong" , 
6969                "There was an unexpected error." ,  Context . User ) ) ; 
7070        } 
7171    } 
@@ -87,31 +87,31 @@ public async Task BirthdayMessageCommand(SocketMessage message)
8787            var  birthdayForPerson  =  await  _birthdayBusinessLayer . GetBirthdayForPerson ( user . Id . ToString ( ) ) ; 
8888            if  ( birthdayForPerson  ==  null ) 
8989            { 
90-                 await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbed ( "Error Finding Time" , 
90+                 await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbedWithUserFooter ( "Error Finding Time" , 
9191                    "Could not find time for person." ,  Context . User ) ) ; 
9292                return ; 
9393            } 
9494
9595            var  messageToSend  =  BuildBirthdayMessage ( birthdayForPerson . Value ) ; 
96-             await  FollowupAsync ( embed :  _discordFormatter . BuildRegularEmbed ( $ "{ user . GetNameToDisplay ( ) } 's Birthday", 
96+             await  FollowupAsync ( embed :  _discordFormatter . BuildRegularEmbedWithUserFooter ( $ "{ user . GetNameToDisplay ( ) } 's Birthday", 
9797                messageToSend ,  Context . User ) ) ; 
9898        } 
9999        catch  ( PersonNotFoundException  ex ) 
100100        { 
101101            _logger . LogError ( ex ,  "PersonNotFound in BirthdayMessageCommand" ) ; 
102-             await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbed ( "Person Not Found" , 
102+             await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbedWithUserFooter ( "Person Not Found" , 
103103                "That person wasn't found!" ,  Context . User ) ) ; 
104104        } 
105105        catch  ( NoBirthdayException  ex ) 
106106        { 
107107            _logger . LogError ( ex ,  "NoBirthday in BirthdayMessageCommand" ) ; 
108-             await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbed ( "Birthday Not Found" , 
108+             await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbedWithUserFooter ( "Birthday Not Found" , 
109109                "No birthday is configured for this person." ,  Context . User ) ) ; 
110110        } 
111111        catch  ( Exception  ex ) 
112112        { 
113113            _logger . LogError ( ex ,  "Unhandled error in BirthdayMessageCommand" ) ; 
114-             await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbed ( "Something Went Wrong" , 
114+             await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbedWithUserFooter ( "Something Went Wrong" , 
115115                "There was an unexpected error." ,  Context . User ) ) ; 
116116        } 
117117    } 
@@ -126,31 +126,31 @@ public async Task BirthdayUserCommand(SocketUser user)
126126            var  birthdayForPerson  =  await  _birthdayBusinessLayer . GetBirthdayForPerson ( user . Id . ToString ( ) ) ; 
127127            if  ( birthdayForPerson  ==  null ) 
128128            { 
129-                 await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbed ( "Error Finding Time" , 
129+                 await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbedWithUserFooter ( "Error Finding Time" , 
130130                    "Could not find time for person." ,  Context . User ) ) ; 
131131                return ; 
132132            } 
133133
134134            var  messageToSend  =  BuildBirthdayMessage ( birthdayForPerson . Value ) ; 
135-             await  FollowupAsync ( embed :  _discordFormatter . BuildRegularEmbed ( $ "{ user . GetNameToDisplay ( ) }  's Birthday", 
135+             await  FollowupAsync ( embed :  _discordFormatter . BuildRegularEmbedWithUserFooter ( $ "{ user . GetNameToDisplay ( ) }  's Birthday", 
136136                messageToSend ,  Context . User ) ) ; 
137137        } 
138138        catch  ( PersonNotFoundException  ex ) 
139139        { 
140140            _logger . LogError ( ex ,  "PersonNotFound in BirthdayUserCommand" ) ; 
141-             await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbed ( "Person Not Found" , 
141+             await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbedWithUserFooter ( "Person Not Found" , 
142142                "That person wasn't found!" ,  Context . User ) ) ; 
143143        } 
144144        catch  ( NoBirthdayException  ex ) 
145145        { 
146146            _logger . LogError ( ex ,  "NoBirthday in BirthdayUserCommand" ) ; 
147-             await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbed ( "Birthday Not Found" , 
147+             await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbedWithUserFooter ( "Birthday Not Found" , 
148148                "No birthday is configured for this person." ,  Context . User ) ) ; 
149149        } 
150150        catch  ( Exception  ex ) 
151151        { 
152152            _logger . LogError ( ex ,  "Unhandled error in BirthdayUserCommand" ) ; 
153-             await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbed ( "Something Went Wrong" , 
153+             await  FollowupAsync ( embed :  _discordFormatter . BuildErrorEmbedWithUserFooter ( "Something Went Wrong" , 
154154                "There was an unexpected error." ,  Context . User ) ) ; 
155155        } 
156156    } 
0 commit comments