Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Integrating User Stats

Olivia edited this page Jun 19, 2020 · 4 revisions

To instantiate a user stat variable, run the following (assuming DBL has also been properly instantiated)

user = DBL.user(user_id)

Now, you can run the various User info methods to get more stats.

Examples:

user.username
=> "Chew"
user.bio
=> "me me bot boy"
user.mod?
=> false

And more!