File tree Expand file tree Collapse file tree
src/main/java/com/mcmoddev/mmdbot/utilities/quotes Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 */
2121package com .mcmoddev .mmdbot .utilities .quotes ;
2222
23+ import com .mcmoddev .mmdbot .utilities .scripting .ExposeScripting ;
2324import net .dv8tion .jda .api .entities .MessageEmbed ;
2425
2526/**
@@ -43,6 +44,7 @@ public interface IQuote {
4344 /**
4445 * @return The person or object being quoted.
4546 */
47+ @ ExposeScripting
4648 UserReference getQuotee ();
4749
4850 /**
@@ -55,6 +57,7 @@ public interface IQuote {
5557 /**
5658 * @return The person or object that created this quote.
5759 */
60+ @ ExposeScripting
5861 UserReference getQuoteAuthor ();
5962
6063 /**
@@ -67,6 +70,7 @@ public interface IQuote {
6770 /**
6871 * @return The integer ID of this quote.
6972 */
73+ @ ExposeScripting
7074 int getID ();
7175
7276 /**
@@ -81,13 +85,15 @@ public interface IQuote {
8185 *
8286 * @return A fully formed Embed ready for sending.
8387 */
88+ @ ExposeScripting
8489 MessageEmbed getQuoteMessage ();
8590
8691 /**
8792 * Get the closest text representation of the thing being quoted.
8893 *
8994 * @return Depends on the subclass.
9095 */
96+ @ ExposeScripting
9197 String getQuoteText ();
9298
9399}
Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ public void setQuoteAuthor(final UserReference author) {
7777 * @return The person or object being quoted.
7878 */
7979 @ Override
80- @ ExposeScripting
8180 public UserReference getQuoteAuthor () {
8281 return creator ;
8382 }
@@ -96,7 +95,6 @@ public void setQuotee(final UserReference target) {
9695 * @return The person or object that created this quote.
9796 */
9897 @ Override
99- @ ExposeScripting
10098 public UserReference getQuotee () {
10199 return quotee ;
102100 }
@@ -115,7 +113,6 @@ public void setID(final int pId) {
115113 * @return The integer representing where in the list the Quote is.
116114 */
117115 @ Override
118- @ ExposeScripting
119116 public int getID () {
120117 return id ;
121118 }
Original file line number Diff line number Diff line change 2020 */
2121package com .mcmoddev .mmdbot .utilities .quotes ;
2222
23+ import com .mcmoddev .mmdbot .utilities .scripting .ExposeScripting ;
2324import net .dv8tion .jda .api .EmbedBuilder ;
2425import net .dv8tion .jda .api .entities .MessageEmbed ;
2526
You can’t perform that action at this time.
0 commit comments