Package net.mamoe.mirai.internal
Class AbstractBot
-
- All Implemented Interfaces:
-
kotlinx.coroutines.CoroutineScope,net.mamoe.mirai.Bot,net.mamoe.mirai.contact.ContactOrBot,net.mamoe.mirai.contact.UserOrBot
public abstract class AbstractBot implements Bot, CoroutineScope
-
-
Field Summary
Fields Modifier and Type Field Description private final FriendasFriendprivate final StrangerasStrangerprivate final StringavatarUrlprivate final Botbotprivate final BotConfigurationconfigurationprivate final CoroutineContextcoroutineContextprivate final EventChannel<BotEvent>eventChannelprivate final FriendGroupsfriendGroupsprivate final ContactList<Friend>friendsprivate final ContactList<Group>groupsprivate final Longidprivate final BooleanisOnlineprivate final MiraiLoggerloggerprivate final Stringnickprivate final ContactList<OtherClient>otherClientsprivate final ContactList<Stranger>strangers
-
Constructor Summary
Constructors Constructor Description AbstractBot()
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class net.mamoe.mirai.Bot
close, close, closeAndJoin, getAsFriend, getAsStranger, getBot, getConfiguration, getEventChannel, getFriend, getFriendGroups, getFriendOrFail, getFriends, getGroup, getGroupOrFail, getGroups, getLogger, getOtherClients, getStranger, getStrangerOrFail, getStrangers, isOnline, join, login, nudge -
Methods inherited from class net.mamoe.mirai.contact.ContactOrBot
getAvatarUrl, getAvatarUrl, getId -
Methods inherited from class kotlinx.coroutines.CoroutineScope
getCoroutineContext -
Methods inherited from class net.mamoe.mirai.contact.UserOrBot
getNick -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-