dbader / dbader/schedule

Calling a coroutine as a job

Open
#236 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
12.3k
Forks
999
PR merge metrics
No merged PRs in 30d

Description

I'm using the [discord.py](https://github.com/Rapptz/discord.py) wrapper.

A lot of the methods are asynchronous and must be called with the `await` keyword.

I'm trying to create a function that will use the [unban](https://discordpy.readthedocs.io/en/latest/api.html?highlight=unban#discord.Client.unban) coroutine, however it must be called in an asynchronous function with the await keyword.

Is there anyway to schedule an asynchronous function?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.