Skip to content

Module to assist in creating fake discord objects for testing purposes.

License

Notifications You must be signed in to change notification settings

pocketcord/disfake

Repository files navigation

disfake

code style black coverage tests build

Module to assist in creating fake discord objects for testing purposes.

from disfake.core.cache import users
from disfake.http import guild
from discord_typings import GuildData, UserData


my_guild: GuildData = guild.generate()
owner: UserData = users.get(my_guild["owner_id"])

About

Module to assist in creating fake discord objects for testing purposes.

Topics

Resources

License

Stars

Watchers

Forks

Languages