SecondBot/Core/Commands/Group/groupchatGroupHasUnread.cs
2020-04-23 18:19:18 +01:00

18 lines
525 B
C#

using OpenMetaverse;
using System;
using System.Collections.Generic;
using System.Text;
namespace BSB.Commands.Group
{
class GroupchatGroupHasUnread : CoreGroupCommand_SmartReply_Group_auto
{
public override string Helpfile { get { return "Returns True|False via the smart reply target if there are any unread group ims for the group [ARG 2]"; } }
protected override string RunFunction(UUID targetgroup)
{
return bot.GroupHasUnread(targetgroup).ToString();
}
}
}