Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Public Async Function onUserJoined(arg As SocketGuildUser) As Task
- Try
- Dim channel = arg.Guild.GetTextChannel(idGoesHere)
- Dim path = Await _images.createImageAsync(arg)
- Await channel.SendFileAsync(path, String.Empty)
- File.Delete(path)
- Catch ex As Exception
- loggingHandler.LogTxtException("UserJoined", ex)
- End Try
- End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement