LunaChat v3-k2 : Messaging implementation. (WIP)

このコミットが含まれているのは:
ucchy committed 2020-06-03 00:19:39 +09:00
1 親 f5910411f4
コミット 1513dd8197
42ファイル変更
+924 -1120

検索条件に一致するファイルはありません

+4 -3
ファイルの表示
@@ -5,6 +5,7 @@
*/
package com.github.ucchyocean.lc3.command;
import com.github.ucchyocean.lc3.Messages;
import com.github.ucchyocean.lc3.member.ChannelMember;
/**
@@ -19,7 +20,7 @@ public class DicCommand extends DictionaryCommand {
/**
* コマンドを取得します。
* @return コマンド
* @see com.github.ucchyocean.lc3.command.SubCommandAbst#getCommandName()
* @see com.github.ucchyocean.lc3.command.LunaChatSubCommand#getCommandName()
*/
@Override
public String getCommandName() {
@@ -30,11 +31,11 @@ public class DicCommand extends DictionaryCommand {
* 使用方法に関するメッセージをsenderに送信します。
* @param sender コマンド実行者
* @param label 実行ラベル
* @see com.github.ucchyocean.lc3.command.SubCommandAbst#sendUsageMessage()
* @see com.github.ucchyocean.lc3.command.LunaChatSubCommand#sendUsageMessage()
*/
@Override
public void sendUsageMessage(
ChannelMember sender, String label) {
sendResourceMessage(sender, "", USAGE_KEY, label);
sender.sendMessage(Messages.usageDic(label));
}
}