SecondBot/Core/Commands/Group/groupchatAnyUnread.cs

11 lines
No EOL
397 B
C#

namespace BSB.Commands.Group
{
class GroupchatAnyUnread : CoreGroupCommand_SmartReply_auto
{
public override string Helpfile { get { return "Returns True|False via the smart reply target if there are any unread group ims"; } }
protected override string RunFunction()
{
return "groupchatunread="+bot.HasUnreadGroupchats().ToString();
}
}
}