You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the library its been working greet so far.
Just wondering how would some one reply to a user message in a channel by DM?
req.user.getDMChannel(req.cache) match { case Some(channel) => client.requestsHelper.runMany( req.textChannel.sendMessage(s"Ill DM you @${req.user.username}"), channel.sendMessage("Sup") )(req.cache)
This works great if the user already has an DM window open with the bot but creating a new window for a DM is a tricky situation I cannot seem to solve.
The text was updated successfully, but these errors were encountered:
Hey guys,
Thank you for the library its been working greet so far.
Just wondering how would some one reply to a user message in a channel by DM?
req.user.getDMChannel(req.cache) match { case Some(channel) => client.requestsHelper.runMany( req.textChannel.sendMessage(s"Ill DM you @${req.user.username}"), channel.sendMessage("Sup") )(req.cache)
This works great if the user already has an DM window open with the bot but creating a new window for a DM is a tricky situation I cannot seem to solve.
The text was updated successfully, but these errors were encountered: