Skip to content

Add check if there are more than 25 roles in the guild and create a pagination l... #105

@github-actions

Description

@github-actions

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

#pragma warning disable CS1998 // Async method lacks 'await' operators and will run synchronously
    public static async Task<SelectMenuBuilder> GetSelectMenuBuilderAsync(this SelectMenuBuilder builder, DiscordSocketClient client, ulong guildId, List<ulong> currentValues, ILogger logger)
    {
        // TODO: Add check if there are more than 25 roles in the guild and create a pagination list

        // Get the guild from the client.
        var guild = client.GetGuild(guildId);
        if (guild == null)

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