Package com.aliucord.utils
Class ChannelUtils
-
- All Implemented Interfaces:
public final class ChannelUtils
-
-
Constructor Summary
Constructors Constructor Description ChannelUtils()
-
Method Summary
Modifier and Type Method Description static List<User>getRecipients(Channel channel)static booleanisGuildTextyChannel(Channel channel)static UsergetDMRecipient(Channel channel)static booleanisTextChannel(Channel channel)static StringgetDisplayName(Channel channel)static StringgetDisplayNameOrDefault(Channel channel, Context context, boolean addPrefix)-
-
Method Detail
-
getRecipients
static List<User> getRecipients(Channel channel)
-
isGuildTextyChannel
static boolean isGuildTextyChannel(Channel channel)
-
getDMRecipient
static User getDMRecipient(Channel channel)
-
isTextChannel
static boolean isTextChannel(Channel channel)
-
getDisplayName
static String getDisplayName(Channel channel)
-
getDisplayNameOrDefault
static String getDisplayNameOrDefault(Channel channel, Context context, boolean addPrefix)
-
-
-
-