Skip to content

Commit

Permalink
notes
Browse files Browse the repository at this point in the history
  • Loading branch information
rfresh2 committed Nov 3, 2023
1 parent 04be3c8 commit a8b0d66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/main/java/vc/config/GuildConfigManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ public void writeGuildConfig(final String guildId) {
Optional.ofNullable(guildConfigMap.get(guildId)).ifPresent(guildConfigDatabase::writeGuildConfigRecord);
}

public void writeGuildConfig(final GuildConfigRecord guildConfigRecord) {
guildConfigMap.put(guildConfigRecord.guildId(), guildConfigRecord);
guildConfigDatabase.writeGuildConfigRecord(guildConfigRecord);
}

public void updateGuildConfig(final GuildConfigRecord guildConfigRecord) {
guildConfigMap.put(guildConfigRecord.guildId(), guildConfigRecord);
writeGuildConfig(guildConfigRecord.guildId());
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/vc/live/LiveChat.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
@Component
public class LiveChat extends LiveFeed {

// todo: we aren't receiving system messages from the existing chat queue
// so no restart msgs

public LiveChat(final RedisClient redisClient,
final GatewayDiscordClient discordClient,
final GuildConfigManager guildConfigManager,
Expand Down

0 comments on commit a8b0d66

Please sign in to comment.