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 boolean
isGuildTextyChannel(Channel channel)
static User
getDMRecipient(Channel channel)
static boolean
isTextChannel(Channel channel)
static String
getDisplayName(Channel channel)
static String
getDisplayNameOrDefault(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)
-
-
-
-