* initial * Interaction glossary entry * Sharded Interaction sample * Renames into solution * Debugging samples * Modify target location for webhookclient * Finalizing docs work, resolving docfx errors. * Adding threaduser to user chart * Add branch info to readme. * Edits to user chart * Resolve format for glossary entries * Patch sln target * Issue with file naming fixed * Patch 1/x for builds * Appending suggestions
9 lines
204 B
C#
9 lines
204 B
C#
IUser user;
|
|
|
|
// Here we check if the user is an IGuildUser, if not, let it pass. This ensures its not null.
|
|
if (user is IGuildUser)
|
|
{
|
|
Console.WriteLine("This user is in a guild!");
|
|
}
|
|
// Check failed.
|