Skip to content

Context CancellationToken? #211

@nixonjoshua98

Description

@nixonjoshua98

Description

Perhaps I have missed it on the documentation but do we have a way of accessing a cancellation token? Perhaps expires after 3 seconds or 15minutes if its deferred?

[SubSlashCommand("add", "Add timed role")]
public async Task OpenAddRoleModalAsync(CancellationToken cancellationToken) {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions