Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Fix naming in discord service example #4

Merged
merged 1 commit into from
Jul 21, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions services/Discord.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ import org.codeoverflow.chatoverflow.api.io.dto.chat.discord.DiscordChatMessage;

public class TestPlugin extends PluginImpl {
//require a new discord chat input
private Requirement<DiscordChatInput> twitchIn =
private Requirement<DiscordChatInput> discordIn =
require.input.discordChat("discordChat", "The discord chat", false);

public TestPlugin(PluginManager pluginManager) {
Expand Down Expand Up @@ -199,7 +199,7 @@ public class TestPlugin extends PluginImpl {
.withTimestamp(OffsetDateTime.now())
.build();

//Output the embed to the twitch chat
//Output the embed to the discord chat
discordOut.get().sendChatMessage(embed);
}

Expand Down