-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Development #5
base: main
Are you sure you want to change the base?
Development #5
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small things only
@@ -12,7 +12,7 @@ | |||
|
|||
public class GetCodesCommand implements CommandHandler { | |||
|
|||
private final static String img = "https://cdn.discordapp.com/attachments/718871472336273429/806569636169515052/11.png"; | |||
private final static String img = "https://cdn.discordapp.com/attachments/710039794884935743/820371562019815474/unknown.png"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This String img is the same in many files, make some class called BotStaticResources and put all such things there like public static final strings
@@ -11,7 +11,7 @@ | |||
|
|||
public class Notify extends TimerTask { | |||
|
|||
private final static String img = "https://cdn.discordapp.com/attachments/718871472336273429/806569636169515052/11.png"; | |||
private final static String img = "https://cdn.discordapp.com/attachments/710039794884935743/820371562019815474/unknown.png"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the above comment
import com.appnull.subject.Subject; | ||
import com.appnull.subject.SubjectImpl; | ||
import com.appnull.notifications.Notify; | ||
|
||
import org.apache.commons.collections4.map.HashedMap; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The added imports seem unused
No description provided.