> For the complete documentation index, see [llms.txt](https://zfbx.gitbook.io/zdiscord/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zfbx.gitbook.io/zdiscord/start/exports.md).

# Exports

- [isRolePresent](https://zfbx.gitbook.io/zdiscord/start/exports/isrolepresent.md): check if a user has a discord role
- [getDiscordId](https://zfbx.gitbook.io/zdiscord/start/exports/getdiscordid.md): get the discord id for a user by source
- [getRoles](https://zfbx.gitbook.io/zdiscord/start/exports/getroles.md): Get roles for a user by discord id or source
- [getName](https://zfbx.gitbook.io/zdiscord/start/exports/getname.md): get a users discord name by discord id or source
- [log](https://zfbx.gitbook.io/zdiscord/start/exports/log.md): log and event to a webhook by name
