Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IUserMessage messageGet = await messageIn.GetOrDownloadAsync();
- IMessageChannel channelGet = await channelIn.GetOrDownloadAsync();
- ulong messageUserId = messageGet.Author.Id;
- //This call always seems to come back null if user is offline. Not sure if this is intended or not.
- var messageUser = await channelGet.GetUserAsync(messageUserId, CacheMode.AllowDownload) as SocketGuildUser;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement