Skip to content

Add check if there are more than 25 enum values and create a pagination list #104

@github-actions

Description

@github-actions

https://api.github.com/Anheledir/Honeycomb/blob/7dc962814f7d20fd50599217e4e6a89b6ad53941/BaseBotService/Utilities/Extensions/DiscordExtensions.cs#L63

        Func<T, string> getLabel
    ) where T : Enum
    {
        // TODO: Add check if there are more than 25 enum values and create a pagination list

        bool isFlagsEnum = typeof(T).GetCustomAttributes(typeof(FlagsAttribute), false).Length > 0;

        foreach (T value in Enum.GetValues(typeof(T)).Cast<T>())

Metadata

Metadata

Assignees

Labels

todoTodo found in the code

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions