We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88dd63e commit fc0ce9eCopy full SHA for fc0ce9e
src/main/java/net/javadiscord/javabot/systems/qotw/jobs/QOTWJob.java
@@ -25,8 +25,6 @@
25
import java.util.Optional;
26
import java.util.Set;
27
28
-import javax.annotation.PostConstruct;
29
-
30
/**
31
* Job which posts a new question to the QOTW channel.
32
*/
@@ -43,7 +41,6 @@ public class QOTWJob {
43
41
* @throws SQLException if an SQL error occurs
44
42
45
@Scheduled(cron = "0 0 9 * * 1") // Monday, 09:00 UTC
46
- @PostConstruct
47
public void execute() throws SQLException {
48
for (Guild guild : jda.getGuilds()) {
49
GuildConfig config = botConfig.get(guild);
0 commit comments