[Change] MessageSender 调整包路径;

This commit is contained in:
2020-04-21 22:33:20 +08:00
parent 2df5513727
commit 620c3785ad
8 changed files with 7 additions and 6 deletions

View File

@ -0,0 +1,15 @@
package net.lamgc.cgj.bot.message;
public interface MessageSender {
/**
* 发送消息并返回消息id
* @param message 消息内容
* @return 返回非负数则发送成功,
* 返回0则发送器不支持消息Id,
* 返回非0正整数则为消息Id,
* 返回负数则为错误.
*/
int sendMessage(final String message);
}

View File

@ -2,7 +2,6 @@ package net.lamgc.cgj.bot.message;
import com.google.common.base.Strings;
import net.lamgc.cgj.bot.BotCode;
import net.lamgc.cgj.bot.MessageSender;
import net.lamgc.cgj.bot.cache.CacheStore;
import net.lamgc.cgj.bot.cache.HotDataCacheStore;
import net.lamgc.cgj.bot.cache.LocalHashCacheStore;

View File

@ -1,6 +1,5 @@
package net.lamgc.cgj.bot.message;
import net.lamgc.cgj.bot.MessageSender;
import net.lz1998.cq.robot.CoolQ;
public class SpringCQMessageSender implements MessageSender {